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 [email protected]
Whole thread Raw
In response to checking if user is connected as a superuser?  (Dragan Matic <[email protected]>)
List pgsql-admin
On 6/6/05, Dragan Matic <[email protected]> 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?