LibPQ Error.

From: Muhamamd Irfan Azam <irfan(dot)azam(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: LibPQ Error.
Date: 2005-11-30 10:25:04
Message-ID: d4390afa0511300225g772daa4eg7f872437a3ae3bfc@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-hackers

---------- Forwarded message ----------
From: Muhamamd Irfan Azam <irfan(dot)azam(at)gmail(dot)com>
Date: Nov 30, 2005 2:48 PM
Subject: LibPQ Error.
To: pgsql-hackers(at)postgresql(dot)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,

In response to

  • LibPQ Error. at 2005-11-30 09:48:37 from Muhamamd Irfan Azam

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-11-30 15:04:36 Re: pg_dump: schema with OID 559701082 does not exist
Previous Message Muhamamd Irfan Azam 2005-11-30 09:48:37 LibPQ Error.

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2005-11-30 12:20:44 Re: Using multi-row technique with COPY
Previous Message Muhamamd Irfan Azam 2005-11-30 09:48:37 LibPQ Error.