Re: "is_superuser" parameter creates inconsistencies

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: "is_superuser" parameter creates inconsistencies
Дата
Msg-id 200308170322.h7H3MfB03019@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: "is_superuser" parameter creates inconsistencies  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Has this been addressed?

---------------------------------------------------------------------------

Tom Lane wrote:
> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faqs/FAQ.html
> 

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Error message style guide, take 2
Следующее
От: Stephan Szabo
Дата:
Сообщение: Question with hashed IN