mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +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/help.c,v 1.82 2003/11/29 19:52:06 pgsql Exp $
 | 
			
		||||
 * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.83 2003/12/01 22:21:54 momjian Exp $
 | 
			
		||||
 */
 | 
			
		||||
#include "postgres_fe.h"
 | 
			
		||||
#include "common.h"
 | 
			
		||||
@@ -216,6 +216,7 @@ slashUsage(unsigned short int pager)
 | 
			
		||||
	fprintf(output, _("  \\dd [PATTERN]  show comment for object\n"));
 | 
			
		||||
	fprintf(output, _("  \\dD [PATTERN]  list domains\n"));
 | 
			
		||||
	fprintf(output, _("  \\df [PATTERN]  list functions (add \"+\" for more detail)\n"));
 | 
			
		||||
	fprintf(output, _("  \\dg [PATTERN]  list groups\n"));
 | 
			
		||||
	fprintf(output, _("  \\dn [PATTERN]  list schemas\n"));
 | 
			
		||||
	fprintf(output, _("  \\do [NAME]     list operators\n"));
 | 
			
		||||
	fprintf(output, _("  \\dl            list large objects, same as \\lo_list\n"));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user