Re: [HACKERS] Re: New version of psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] Re: New version of psql
Дата
Msg-id 2232.941908615@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: New version of psql  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> The '>' is replaced by a '#' if you are the superuser. (Correction: if the
> username is "postgres". I'm still thinking about ways to make this a
> little more elegant though. Ideas welcome.)

You should be looking at the usesuper column from pg_user if you really
want a correct indication of whether the user has superuser privs.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Path-length follies
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] ERROR: infinite recursion in proc_exit