Re: [BUGS] BUG #5837: PQstatus() fails to report lost connection

2011-01-23 Thread Robert Haas
On Sat, Jan 22, 2011 at 10:44 PM, Tom Lane wrote: > What did you do exactly?  testlibpq.c just uses PQexec(), and AFAICS the > connection status does end up BAD if the backend is terminated before a > PQexec starts. PFA. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise Po

Re: [BUGS] BUG #5837: PQstatus() fails to report lost connection

2011-01-23 Thread Robert Haas
On Sun, Jan 23, 2011 at 10:59 PM, Murray S. Kucherawy wrote: > As for the reply above, I disagree.  PQstatus(), as documented, doesn't say > anything about certain conditions in which it won't report that the > connection is dead, when it actually is, once the connection was already > establis

[BUGS] Re: [HACKERS] Is there a way to build PostgreSQL client libraries with MinGW

2011-01-23 Thread Xiaobo Gu
Hi, I download the lastest 32bit MinGW from sourceforge, and found there are *NIX like tools such as chmod and ls in the MinGW\msys\1.0\bin directory. But the make process does not success, This test is done on my 32bit Windows XP SP3 Here are the messages: D:\devproj\postgresql-9.0.2>sh confi

[BUGS] Re: [HACKERS] Is there a way to build PostgreSQL client libraries with MinGW

2011-01-23 Thread Xiaobo Gu
And there are two versions of gcc installed on my WinXP PRO SP3, 3.4.4 is the one used to the above test D:\devproj\postgresql-9.0.2>gcc -v Reading specs from /usr/lib/gcc/i686-pc-msys/3.4.4/specs Configured with: /home/cstrauss/build/gcc3/gcc-3.4.4/configure --prefix=/usr --s ysconfdir=/etc --loc