Re: How to set config param temporarily?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: How to set config param temporarily?
Дата
Msg-id 20071016190348.GB13400@alvh.no-ip.org
обсуждение исходный текст
Ответ на How to set config param temporarily?  ("Kynn Jones" <kynnjo@gmail.com>)
Список pgsql-general
Kynn Jones escribió:
> I'd like to set some config parameter "temporarily"; i.e. so that the
> new setting is active, say, only during the execution of the next SQL
> statement.  This is the best I've come up with:

Did you try SET LOCAL?  It works per transaction rather than
per statement though.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

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

Предыдущее
От: jooy
Дата:
Сообщение: need help with rebuilding postgresql
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: need help with rebuilding postgresql