Re: partial PGresult in pgsql v8.2rc1 - Mailing list pgsql-bugs

From Tom Lane
Subject Re: partial PGresult in pgsql v8.2rc1
Date
Msg-id 665.1164995530@sss.pgh.pa.us
Whole thread Raw
In response to partial PGresult in pgsql v8.2rc1  (Igor Shevchenko <igor@carcass.ath.cx>)
Responses Re: partial PGresult in pgsql v8.2rc1
List pgsql-bugs
Igor Shevchenko <igor@carcass.ath.cx> writes:
> I've been using partial PGresult-s since pgsql v7.4, and one of "signs" that
> it's there (after a "read" event on a non-blocking tcp connection to pgsql +
> a call to PQconsumeInput) is a check: "pgconn->result != NULL", where pgconn
> is a pointer to a PGconn object.

PGconn is not an exported struct, and so what you are doing is unsupported,
but I'll bet your app was compiled against the wrong version of libpq-int.h.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: BUG #2798: Obsolete tiemzone data included
Next
From: "Marcin Waldowski"
Date:
Subject: BUG #2804: Incorrect encoding of comment in backup of UTF8 database