Re: When extended query protocol ends?

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема Re: When extended query protocol ends?
Дата
Msg-id 20240228.210532.1955389974353647116.t-ishii@sranhm.sra.co.jp
обсуждение исходный текст
Ответ на Re: When extended query protocol ends?  (Jelte Fennema-Nio <postgres@jeltef.nl>)
Ответы Re: When extended query protocol ends?  (Vladimir Sitnikov <sitnikov.vladimir@gmail.com>)
Список pgsql-hackers
> And that's also where sending a Query instead of a Sync introduces a
> problem: What is supposed to happen if something fails. Let's take the
> simple example Bind-Execute-Query: If the Execute causes an error, is
> the Query still executed or not? And what about if the Query fails, is
> the Execute before committed or rolled back?
> 
> That's why we have the Sync messages, clarify what happens when a
> failure occurs somewhere in the pipeline. And only extended protocol
> messages are allowed to be part of a pipeline: "Use of the extended
> query protocol allows pipelining"

Good point. If we have started extended protocol messages, I think
there's no way to avoid the Sync messages before issuing simple
protocol messages.

Best reagards,
--
Tatsuo Ishii
SRA OSS LLC
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp




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

Предыдущее
От: Matthias van de Meent
Дата:
Сообщение: Re: Experiments with Postgres and SSL
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Experiments with Postgres and SSL