Re: proposal: psql: show current user in prompt

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal: psql: show current user in prompt
Дата
Msg-id 1735069.1675455668@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal: psql: show current user in prompt  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal: psql: show current user in prompt
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> Both patches are very simple - and they use almost already prepared
> infrastructure.

It's not simple at all to make the psql feature depend on marking
"role" as GUC_REPORT when it never has been before.  That will
cause the feature to misbehave when using older servers.  I'm
even less impressed by having it fall back on PQuser(), which
would be misleading at exactly the times when it matters.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Make EXPLAIN generate a generic plan for a parameterized query
Следующее
От: Shivam Ardeshna
Дата:
Сообщение: Hi i am Intrested to contribute