I have applied the attached patch that is basically your patch with
Tom's suggestion to use HAVE_UNIX_SOCKETS.
> Hi,
>
> There are two problems when compiling libpq.dll and psql.exe
> on Windows. I'm not sure it is the best way to fix them
> (see patch below.) Comments?
>
> Regards,
> Mikhai
Approved with Tom's suggested changes.
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
> Hi,
>
> There are two problems when compiling libpq.dll and psql.exe
> on Windows.
Mikhail Terekhov <[EMAIL PROTECTED]> writes:
> There are two problems when compiling libpq.dll and psql.exe
> on Windows. I'm not sure it is the best way to fix them
> (see patch below.) Comments?
The first should probably be conditional on HAVE_UNIX_SOCKETS,
not on WIN32. The second change look
Hi,
There are two problems when compiling libpq.dll and psql.exe
on Windows. I'm not sure it is the best way to fix them
(see patch below.) Comments?
Regards,
Mikhail Terekhov
Index: bin/psql/prompt.c
===
RCS file: /home/projects/p