| От | Tom Lane |
|---|---|
| Тема | Re: "is_superuser" parameter creates inconsistencies |
| Дата | |
| Msg-id | 9196.1059402505@sss.pgh.pa.us обсуждение |
| Ответ на | "is_superuser" parameter creates inconsistencies (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: "is_superuser" parameter creates inconsistencies
Re: "is_superuser" parameter creates inconsistencies |
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> Presumably, the "is_superuser" parameter was intended to make the updating
> of psql's prompt more accurate when SET SESSION AUTHORIZATION is used.
> However, if the prompt is customized to include the user name (%n), then
> the prompt changes to reflect the real superuser status, but does not
> change the user name. I guess we need to pass "session_user" as well.
Seems reasonable. IIRC the only addition needed to the server code is
to set a flag in the variable's GUC entry.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера