Re: search_path and SET ROLE

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: search_path and SET ROLE
Дата
Msg-id CAKFQuwb=HA4=4+DRXYHXNMZiknH_9p6Fp9upSkfw+q1qX_HY1w@mail.gmail.com
обсуждение исходный текст
Ответ на search_path and SET ROLE  (Ron Johnson <ronljohnsonjr@gmail.com>)
Список pgsql-general
On Wednesday, May 22, 2024, Ron Johnson <ronljohnsonjr@gmail.com> wrote:

It seems that the search_path of the role that you SET ROLE to does not become the new search_path.

Am I missing something, or is that PG's behavior?

Yes, attaching a setting to a non-login role is basically pointless as those settings are only applied during the login process.

David J.

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

Предыдущее
От: Ron Johnson
Дата:
Сообщение: search_path and SET ROLE
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: search_path and SET ROLE