Discussion:
Showing all groups
(too old to reply)
Eric
2004-02-12 16:09:47 UTC
Permalink
In PostGres, we can show all existing users by "\du".
However, how to show all existing groups?
Thanks
Mike Johnson
2004-02-12 22:01:25 UTC
Permalink
you can simply:

select * from pg_group;
Post by Eric
In PostGres, we can show all existing users by "\du".
However, how to show all existing groups?
Thanks
---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?
http://archives.postgresql.org
---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
Fred Moyer
2004-02-13 00:53:49 UTC
Permalink
Post by Eric
In PostGres, we can show all existing users by "\du".
However, how to show all existing groups?
Thanks
select * from pg_group;

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend

Loading...