Modifying search_path in a stored procedure

Поиск
Список
Период
Сортировка
От Eric Brown
Тема Modifying search_path in a stored procedure
Дата
Msg-id 89F0EA2B-6416-11D9-94E2-000A95C7176C@propel.com
обсуждение исходный текст
Ответы Re: Modifying search_path in a stored procedure  (Michael Fuhr <mike@fuhr.org>)
Re: Modifying search_path in a stored procedure  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
I know I can SET the schema search_path in a stored procedure, but is
there any way to retrieve it first so that I can get the current value
and manipulate that rather than just replace it?

I've got two sets of data and two sets of functions in 4 respective
schemas. I want to select one set of data and one set of functions. It
is fairly straight forward. However, it would be nice if I want to swap
the schemas with the functions, I don't have to remember what data
schema I was using.

Thanks.

Eric Brown
408-571-6341
www.propel.com

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

Предыдущее
От: Bruno Wolff III
Дата:
Сообщение: Re: problems with 8.0 Rc4
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Modifying search_path in a stored procedure