Re: RES: session_user different from current_user after normal login
В списке pgsql-general по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: RES: session_user different from current_user after normal login |
| Дата | |
| Msg-id | 2184327.1668781907@sss.pgh.pa.us обсуждение |
| Ответ на | RES: session_user different from current_user after normal login (Murillo corvino rocha <murillo_corvinorocha@hotmail.com>) |
| Ответы |
RES: RES: session_user different from current_user after normal login
|
| Список | pgsql-general |
Murillo corvino rocha <murillo_corvinorocha@hotmail.com> writes:
> I am just logging in (using psql) and doing the select: SELECT session_user, current_user;
> The PostgreSQL is an AWS RDS 12.12 instance. No script is being executed. No one besides me is connected to the
database.Could it be any server level configuration? Im pretty sure that few configurations were made to this
database.
I believe it's possible to do ALTER USER ... SET ROLE ... or
ALTER DATABASE ... SET ROLE ..., which'd produce this sort of
effect. psql's "\drds" metacommand would help remind you of
any such settings. I can't offhand think of any other server-side
configuration that would do it.
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера