Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group