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

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
This commit is contained in:
Bruce Momjian
2002-03-06 20:39:45 +00:00
parent 01c76f7411
commit c666d6fd41
4 changed files with 60 additions and 4 deletions

View File

@ -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;
}