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 20230220201747.4fblwswxq3xbgz2c@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  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-hackers
Found one last problem: if you do "-f foobar.sql -M prepared" in that
order, then the prepare fails because the statement names would not be
assigned when the file is parsed.  This coding only supported doing
"-M prepared -f foobar.sql", which funnily enough is the only one that
PostgreSQL/Cluster.pm->pgbench() supports.  So I moved the prepared
statement name generation to the postprocess step.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/
"La rebeldía es la virtud original del hombre" (Arthur Schopenhauer)

Вложения

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

Предыдущее
От: Dean Rasheed
Дата:
Сообщение: Allow MERGE to be executed from PL/Tcl
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Killing off removed rels properly