mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
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>
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user