At 06:59 PM 1/17/02 +0000, M.L.Bowman wrote:
> In Ingres I can check if the ingres superuser is the current userby using
> WHERE dbmsinfo('username') = dbmsinfo('dba')
> I can't find out how to do the equivalent in postgres. Can anyone help?
fbax=# select usename,usesuper from pg_user where usename = current_user;
usename | usesuper
---------+----------
fbax | t
(1 row)