1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Add psql \dD listing of domains, from Jonathan Eisler.

This commit is contained in:
Bruce Momjian
2002-03-19 02:32:21 +00:00
parent d3788c3305
commit a7ade2bb6b
5 changed files with 84 additions and 5 deletions

View File

@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.69 2002/03/07 17:54:39 momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.70 2002/03/19 02:32:21 momjian Exp $
*/
#include "postgres_fe.h"
#include "command.h"
@ -380,6 +380,10 @@ exec_command(const char *cmd,
case 'u':
success = describeUsers(name);
break;
case 'D':
success = listDomains(name);
break;
default:
status = CMD_UNKNOWN;
}