Thread: LibPQ Error.

LibPQ Error.

From
Muhamamd Irfan Azam
Date:
---------- Forwarded message ----------
From: Muhamamd Irfan Azam <irfan.azam@gmail.com>
Date: Nov 30, 2005 2:48 PM
Subject: LibPQ Error.
To: pgsql-hackers@postgresql.org

Hi,

I have built the libpq from $Postgres/src/interfaces/libpq on the windows
plateform for 8.1.0. To build i had to comment a function call
ShGetFolderPath from the fe-connect.c file, i gave its dependency
shfolder.lib but it was not working so i commented that function call. Doing
that i got two libs and a dll.
I used the dll but it is crashing in the PQconnectdb function, which itself
is crashing due to a function PQconnectPoll function, which is trying to
memcpy in a NULL pointer.
Any body kindly tell me why that function is crashing, becuase the same
client is working with the libpq ported with the binaries for windows.

Note: I built the libpq for 8.0.4 using the same method and tested that, it
is working properly.

Best Regards,