Global variables

Поиск
Список
Период
Сортировка
От Jean-Yves F. Barbier
Тема Global variables
Дата
Msg-id 20111105153148.665c34ba@anubis.defcon1
обсуждение исходный текст
Список pgsql-novice
Hi list,

I think I can create "global variables" into a session, working like
ie: SHOW 'search_path' (but I don't remember how), but is it a good practice?

I have several functions that depends on the DB owner's OID, so my idea is
to store this OID into a "global variables" to avoid these functions make
a call to the owner's identication function each time.

JY
--
Do not believe in miracles -- rely on them.

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

Предыдущее
От: Tair Sabirgaliev
Дата:
Сообщение: Re: WARNING: pgstat wait timeout
Следующее
От: "Jean-Yves F. Barbier"
Дата:
Сообщение: function error