Re: Unable to open large object.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Unable to open large object.
Дата
Msg-id 12608.1235714287@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Unable to open large object.  (Yuichi Tanaka <yuichi_tanaka@cybozu.co.jp>)
Список pgsql-novice
Yuichi Tanaka <yuichi_tanaka@cybozu.co.jp> writes:
> Do I always have to call PQgetResult until this function returns NULL pointer?

Yes.  Failing to do that is an erroneous use of PQsendQuery, and it has
nothing particularly to do with large objects.  Once you've done
PQsendQuery, you *must* repeat PQgetResult until you get NULL before
any other command can be issued on that connection.

            regards, tom lane

В списке pgsql-novice по дате отправления:

Предыдущее
От: Yuichi Tanaka
Дата:
Сообщение: Unable to open large object.
Следующее
От: Yuichi Tanaka
Дата:
Сообщение: Re: Unable to open large object.