Thanks. Fix applied. My gcc doesn't complain, even with -Wall, so I
assumed it was a platform-specific issue.
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > OK, add #include <stdio.h> to the file. That should fix it.
>
> Seems unlikely, since libpq-fe.h already includes <stdio.h>.
>
> The real problem here is that the code is wrong: it's passing NULL
> to an int parameter.
>
> regards, tom lane
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026