diff options
author | Bruce Momjian <bruce@momjian.us> | 2003-12-01 22:21:54 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2003-12-01 22:21:54 +0000 |
commit | 8bb60b6423f21de03bdb438d8666dd86824c6266 (patch) | |
tree | 31f10d12afb7b893ef5ca25b63d28d35503e8ab8 /src/bin/psql/command.c | |
parent | 5e2b99db95edea2a23ecdd62b3711a3feb3a28b9 (diff) |
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 <twanger@bluetwanger.de>
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r-- | src/bin/psql/command.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c index fda770f9dc8..67d0ad7b3b7 100644 --- a/src/bin/psql/command.c +++ b/src/bin/psql/command.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2003, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.107 2003/12/01 22:14:40 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/psql/command.c,v 1.108 2003/12/01 22:21:54 momjian Exp $ */ #include "postgres_fe.h" #include "command.h" @@ -359,6 +359,9 @@ exec_command(const char *cmd, case 'f': success = describeFunctions(pattern, show_verbose); break; + case 'g': + success = describeGroups(pattern); + break; case 'l': success = do_lo_list(); break; |