Re: Parameter setting in multi-statement command; I got bit today
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Parameter setting in multi-statement command; I got bit today |
| Дата | |
| Msg-id | 26382.1333312369@sss.pgh.pa.us обсуждение |
| Ответ на | Parameter setting in multi-statement command; I got bit today (Jerry Sievers <gsievers19@comcast.net>) |
| Ответы |
Re: Parameter setting in multi-statement command; I got bit today
|
| Список | pgsql-general |
Jerry Sievers <gsievers19@comcast.net> writes:
> Just FYI... maybe I'm the only Pg veteran who didn't know this but;
> Parameter settings in a multi-statement command are not in effect for
> later statements in same command.
This is not a true statement in general.
> They will take effect on later
> commands however as seen below.
> The 2 seconds statement timeout does nothing to prevent the sleep(10)
> from completing.
I believe what's happening there is that the timeout is applied to each
submitted query string, not individual statements within such a string.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера