Re: Resetting the lock_timeout value for a transaction

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Resetting the lock_timeout value for a transaction
Дата
Msg-id 579887.1745797459@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Resetting the lock_timeout value for a transaction  (Marcelo Fernandes <marcefern7@gmail.com>)
Список pgsql-general
Marcelo Fernandes <marcefern7@gmail.com> writes:
> I would have expected that the "RESET lock_timeout;" inside a transaction would
> only reset the value of lock_timeout for that specific transaction. Or else,
> there would be an equivalent "RESET LOCAL lock_timeout;" to be used for that.

We don't seem to have bothered with that exact syntax, but you
could spell it like

SET LOCAL lock_timeout TO DEFAULT;

            regards, tom lane



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