howto set a variable in transaction context

Поиск
Список
Период
Сортировка
От Thomas Markus
Тема howto set a variable in transaction context
Дата
Msg-id 47FDFAB4.5090605@proventis.net
обсуждение исходный текст
Ответы Re: howto set a variable in transaction context
Список pgsql-general
hi list,

how can i set a variable, which content is only visible in current
transaction?
i know the way to create a temp table with

create temp table ... on commit drop

but i dont like that way. something like
|
set_config(setting_name, new_value, is_local)

is it possible?

regards
thomas
|

Вложения

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

Предыдущее
От: Stefan Schwarzer
Дата:
Сообщение: Re: Dump/Transfer Sequence Problems
Следующее
От: "A. Kretschmer"
Дата:
Сообщение: Re: howto set a variable in transaction context