Re: pgbench: using prepared BEGIN statement in a pipeline could cause an error

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: pgbench: using prepared BEGIN statement in a pipeline could cause an error
Дата
Msg-id 20230208121040.gbxn4ixd52ujxlzc@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: pgbench: using prepared BEGIN statement in a pipeline could cause an error  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Ответы Re: pgbench: using prepared BEGIN statement in a pipeline could cause an error
Список pgsql-hackers
On 2023-Feb-08, Alvaro Herrera wrote:

> I propose instead the following: each command is prepared just before
> it's executed, as previously, and if we see a \startpipeline, then we
> prepare all commands starting with the one just after, and until the
> \endpipeline.

Here's the patch.

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/

Вложения

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