Re: partial PGresult in pgsql v8.2rc1

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: partial PGresult in pgsql v8.2rc1
Дата
Msg-id 665.1164995530@sss.pgh.pa.us
обсуждение исходный текст
Ответ на partial PGresult in pgsql v8.2rc1  (Igor Shevchenko <igor@carcass.ath.cx>)
Ответы Re: partial PGresult in pgsql v8.2rc1  (Igor Shevchenko <igor@carcass.ath.cx>)
Список 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 по дате отправления:

Предыдущее
От: "Heikki Linnakangas"
Дата:
Сообщение: Re: BUG #2798: Obsolete tiemzone data included
Следующее
От: "Marcin Waldowski"
Дата:
Сообщение: BUG #2804: Incorrect encoding of comment in backup of UTF8 database