Re: SET ROLE and search_path

Поиск
Список
Период
Сортировка
От Adam Brusselback
Тема Re: SET ROLE and search_path
Дата
Msg-id CAMjNa7c7_N4wzgP1suBd9XLAz0VSwG+g2Ra8pBKVvV0w5H6eDg@mail.gmail.com
обсуждение исходный текст
Ответ на SET ROLE and search_path  (Patrick FICHE <Patrick.Fiche@aqsacom.com>)
Ответы Re: SET ROLE and search_path
Re: SET ROLE and search_path
Список pgsql-general
I have this exact setup, and I use roles / schema names that match so the $user var works with the search path when I set role as my application user.

When search_path contains “$user”, does it refer to session_user or current_user ?
It uses current_user, not session_user. Works perfectly with set_role for me.

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

Предыдущее
От: "Andrus"
Дата:
Сообщение: Re: How to recover from compressed wal archieve in windows
Следующее
От: Rob Sargent
Дата:
Сообщение: Re: SET ROLE and search_path