Re: Problem with psql on Win32

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Avishay Orpaz" <avishorp(at)walla(dot)co(dot)il>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Problem with psql on Win32
Date: 2002-09-16 15:28:17
Message-ID: 27706.1032190097@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Avishay Orpaz" <avishorp(at)walla(dot)co(dot)il> writes:
> I'm trying to run psql on Windows 2000, but it prints an error message
> saying:

> psql: could not create socket: An address incompatible with the requested
> protocol was used.
> (0x0000273F)

> Debugging a small application I have written myself, I have discovered that
> the function 'socket' inside the database connection function fails with the
> error: "The specified address family is not supported".

Try "psql -h localhost" (or set PGHOST environment variable). I don't
think Unix-socket connections exist in Windows.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mackenzie, Wendell D. 2002-09-16 15:31:39 unsubscribe
Previous Message Justin Clift 2002-09-16 15:25:57 Re: PGXLOG variable worthwhile?