Re: [HACKERS] Re: New version of psql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [HACKERS] Re: New version of psql
Date
Msg-id 2232.941908615@sss.pgh.pa.us
Whole thread Raw
In response to Re: New version of psql  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] Path-length follies
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] ERROR: infinite recursion in proc_exit