| От | Christoph Berg |
|---|---|
| Тема | Re: BUG #9198: psql -c 'SET; ...' not working |
| Дата | |
| Msg-id | 20140212130922.GC4409@msgid.df7cb.de обсуждение исходный текст |
| Ответ на | BUG #9198: psql -c 'SET; ...' not working (christoph.berg@credativ.de) |
| Список | pgsql-bugs |
Re: To pgsql-bugs@postgresql.org 2014-02-12 <20140212125626.2710.94912@wrig= leys.postgresql.org> > time psql -c "SET statement_timeout =3D '3s'; SELECT pg_sleep(2)" > ERROR: canceling statement due to statement timeout > real 0m1.065s >=20 > As witnessed by the time output, the timeout is the one from ALTER ROLE, = not > the new one. Seen on 9.2 and 9.3. >=20 > The psql docs mention that -c is treated differently from stdin when > multiple commands are executed, but that shouldn't include SET not getting > into effect. The same problem occurs with statement_timeout from postgresql.conf and from PGOPTIONS. Christoph --=20 cb@df7cb.de | http://www.df7cb.de/
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера