Re: partial PGresult in pgsql v8.2rc1

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Igor Shevchenko <igor(at)carcass(dot)ath(dot)cx>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: partial PGresult in pgsql v8.2rc1
Date: 2006-12-01 17:52:10
Message-ID: 665.1164995530@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Igor Shevchenko <igor(at)carcass(dot)ath(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Gus Gutoski 2006-12-01 20:18:47 BUG #1873: "Invalid username specified" during install
Previous Message Heikki Linnakangas 2006-12-01 17:37:20 Re: BUG #2798: Obsolete tiemzone data included