| От | Tom Lane |
|---|---|
| Тема | Re: pgbench post-connection command |
| Дата | |
| Msg-id | 22319.1326385466@sss.pgh.pa.us обсуждение |
| Ответ на | Re: pgbench post-connection command (Simon Riggs <simon@2ndQuadrant.com>) |
| Ответы |
Re: pgbench post-connection command
|
| Список | pgsql-hackers |
Simon Riggs <simon@2ndQuadrant.com> writes:
> On Thu, Jan 12, 2012 at 3:26 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> This seems rather poorly designed, mainly because there's no reason to
>> think that a single command would be sufficient.
> It supports multiple commands via multi-statement requests
> e.g.
> -x "SET this = on; SET that = off"
I don't believe that works for multiple \set commands, which is the
more likely use-case for this; as noted upthread, executing SET here
is quite unnecessary since you can get that behavior with
"export PGOPTIONS".
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера