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