psql \du and \dg commands.

From: David BOURIAUD <david(dot)bouriaud(at)ac-rouen(dot)fr>
To: pgsql-hackers(at)postgresql(dot)org
Subject: psql \du and \dg commands.
Date: 2008-04-09 14:35:38
Message-ID: 200804091635.40836.david.bouriaud@ac-rouen.fr
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,
I don't really know since when those commands are provided by psql, but I
found them recently and was quite annoyed by the output given by both of
them.
Though I find that the \du command's output is quite accurate, I wonder why
\dg gives the same informations ?
I would have expected to see the group names in a left column, and the list of
users that belongs to this group.
I know I can get the information by fetching rows of pg_group system table,
but I was just wondering about this issue and see what you here would think
of it.
Thanks for any suggestions about this behavior.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2008-04-09 14:36:01 Re: [PATCHES] libpq type system 0.9a
Previous Message Bruce Momjian 2008-04-09 14:33:43 Re: Commit fest queue