"is_superuser" parameter creates inconsistencies

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема "is_superuser" parameter creates inconsistencies
Дата
Msg-id Pine.LNX.4.56.0307272039460.1197@krusty.credativ.de
обсуждение исходный текст
Ответы Re: "is_superuser" parameter creates inconsistencies  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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.

-- 
Peter Eisentraut   peter_e@gmx.net


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Passing server_encoding to the client is not future-proof
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Equivalent of PQresultErrorField for PGconn?