Re: Replication protocol doc fix

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Replication protocol doc fix
Дата
Msg-id 805393.1623878742@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Replication protocol doc fix  (Jeff Davis <pgsql@j-davis.com>)
Список pgsql-hackers
Jeff Davis <pgsql@j-davis.com> writes:
> One thing I don't fully understand is what would happen if the client
> issued the Sync as the *first* message in an extended-protocol series.

That'd cause the backend to send ReadyForQuery, which'd likely
confuse the client.

> But I think you're correct in saying that the discard-until-Sync
> behavior only happens if the extended query protocol is used,

Certainly, because otherwise there is no Sync.

            regards, tom lane



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

Предыдущее
От: Jeff Davis
Дата:
Сообщение: Re: Replication protocol doc fix
Следующее
От: Thomas Munro
Дата:
Сообщение: Re: A qsort template