Re: checking if user is connected as a superuser?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6/6/05, Dragan Matic <mlists@xxxxxxxxxxxxxx> 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

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux