Re: Postgre Protocol

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Postgre Protocol
Дата
Msg-id 1067.1277748535@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Postgre Protocol  (Greg <grigorey@yahoo.co.uk>)
Ответы Re: Postgre Protocol  (Greg <grigorey@yahoo.co.uk>)
Список pgsql-novice
Greg <grigorey@yahoo.co.uk> writes:
> So question is after I recive AuthenticationOk, do I need to wait for
> ReadyForQuery message from the database

Yes.  You should have gotten it --- the backend is designed to coalesce
those messages into a single network packet, so as to avoid extra
network traffic.  I wonder whether your code is failing to notice
additional logical messages arriving in the same bufferload.

            regards, tom lane

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

Предыдущее
От: Greg
Дата:
Сообщение: Postgre Protocol
Следующее
От: "Jean-Yves F. Barbier"
Дата:
Сообщение: Re: AUTO COMMIT