LibPQ Error. - Mailing list pgsql-hackers

From Muhamamd Irfan Azam
Subject LibPQ Error.
Date
Msg-id d4390afa0511300148l1cbf4f93yccbf74cd308a2820@mail.gmail.com
Whole thread Raw
List pgsql-hackers
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,

 

pgsql-hackers by date:

Previous
From: Matteo Beccati
Date:
Subject: Re: PL/php in pg_pltemplate
Next
From: Bruce Momjian
Date:
Subject: Re: Using multi-row technique with COPY