Re: pgbench post-connection command

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgbench post-connection command
Дата
Msg-id 21081.1326382009@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pgbench post-connection command  (Simon Riggs <simon@2ndQuadrant.com>)
Ответы Re: pgbench post-connection command  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: pgbench post-connection command  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Re: pgbench post-connection command  (Simon Riggs <simon@2ndQuadrant.com>)
Список pgsql-hackers
Simon Riggs <simon@2ndQuadrant.com> writes:
> New -x option for pgbench executes the given command once after
> connection of each session.

This seems rather poorly designed, mainly because there's no reason to
think that a single command would be sufficient.

What would make more sense to me is to add an option for a one-time
script, or possibly extend the script language to allow marking some
commands as "do once".
        regards, tom lane


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: JSON for PG 9.2
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Remembering bug #6123