aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2002-03-06 20:39:45 +0000
committerBruce Momjian <bruce@momjian.us>2002-03-06 20:39:45 +0000
commitc666d6fd41d654967d89eb3316e8d4cc0a924fa1 (patch)
tree97e100eef7cf6068cb0dc691ee7abe6bab6b00bd /src/bin/psql/command.c
parent01c76f7411c24b11e4ab36a9fe5f5017dc33be78 (diff)
downloadpostgresql-c666d6fd41d654967d89eb3316e8d4cc0a924fa1.tar.gz
postgresql-c666d6fd41d654967d89eb3316e8d4cc0a924fa1.zip
Here is a diff of changes to the psql source code implementing a simple
'list domains' command '\dD'. This is the interface component of rbt@zort.ca's domain backend modifications. Jonathan Eisler
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index 398ac00b8ac..b9388b5816f 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -3,7 +3,7 @@
*
* Copyright 2000 by PostgreSQL Global Development Group
*
- * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.67 2002/03/05 00:01:00 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/bin/psql/command.c,v 1.68 2002/03/06 20:39:45 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;
}