| От | Scott Marlowe |
|---|---|
| Тема | Re: Set search_path for session |
| Дата | |
| Msg-id | dcc563d10904171024n16c4caa4sfdbcd368ca69195d@mail.gmail.com обсуждение исходный текст |
| Ответ на | Set search_path for session ("Mary Sipple" <msipple@iii.com>) |
| Список | pgsql-general |
On Fri, Apr 17, 2009 at 8:47 AM, Mary Sipple <msipple@iii.com> wrote: > We have a script wrapper for psql which reads a configuration file and > constructs a psql command to connect to the configured instance of postgres. > We would like to include a search_path setting in the configuraration file > and have the wrapper use that to set the search_path for the psql session. I > tried using the -v flag (-vsearch_path=xxxx) with the psql command but that > did not work: > Can anyone tell me how I can make this happen short of changing the > search_path setting in postgresql.conf & restarting postgres? You can also alter user or database as well. alter user abc set search_path='xyz','public';
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера