Re: [PATCHES] psql: \dg and groups for \du

2003-12-01 Thread Bruce Momjian
Nice: test= create group test; CREATE GROUP test= \dg List of database groups Group name | Group ID +-- test | 100 (1 row) test= alter group test add user postgres;

Re: [PATCHES] psql: \dg and groups for \du

2003-12-01 Thread Peter Eisentraut
Note that it is planned to unify users and groups into a general role entity, so this command is probably going to go away soon. Bruce Momjian writes: Nice: test= create group test; CREATE GROUP test= \dg List of database groups Group name | Group ID

Re: [PATCHES] psql: \dg and groups for \du

2003-12-01 Thread Bruce Momjian
Peter Eisentraut wrote: Note that it is planned to unify users and groups into a general role entity, so this command is probably going to go away soon. NP, at least the code is there for reuse. -- Bruce Momjian| http://candle.pha.pa.us [EMAIL PROTECTED]

Re: [PATCHES] psql: \dg and groups for \du

2003-11-11 Thread Bruce Momjian
I will write the psql.sgml changes. Your patch has been added to the PostgreSQL unapplied patches list at: http://momjian.postgresql.org/cgi-bin/pgpatches I will try to apply it within the next 48 hours. ---

[PATCHES] psql: \dg and groups for \du

2003-11-02 Thread Markus Bertheau
Hi, attached is a patch that adds display of the groups a user belongs to to \du and a \dg command to psql. It's against 7.4beta5. -- Markus Bertheau [EMAIL PROTECTED] diff -ru postgresql-7.4beta5.orig/src/bin/psql/command.c postgresql-7.4beta5/src/bin/psql/command.c ---