Re: checking if user is connected as a superuser? - Mailing list pgsql-admin

From hubert depesz lubaczewski
Subject Re: checking if user is connected as a superuser?
Date
Msg-id 9e4684ce050606040423e9dfc0@mail.gmail.com
Whole thread Raw
In response to checking if user is connected as a superuser?  (Dragan Matic <mlists@panforma.co.yu>)
List pgsql-admin
On 6/6/05, Dragan Matic <mlists@panforma.co.yu> wrote:
Is there a way to check if user is a superuser for the given cluster?
Thanks in advance

select usesuper from pg_user where usename = CURRENT_USER;

depesz

pgsql-admin by date:

Previous
From: Dragan Matic
Date:
Subject: checking if user is connected as a superuser?
Next
From: Rodolfo Baselli
Date:
Subject: Re: RAID0 vs RAID1 vs RAID?