diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-06 15:18:36 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2008-11-06 15:18:36 +0000 |
commit | cdc197cf3100359cd436757adc0002dad07e3117 (patch) | |
tree | dee22a7803ddc476677e5a60e3f112182587779e /src/bin/psql/help.c | |
parent | 5ae29525d1da3914f2f11aa5692f887ec49b864e (diff) | |
download | postgresql-cdc197cf3100359cd436757adc0002dad07e3117.tar.gz postgresql-cdc197cf3100359cd436757adc0002dad07e3117.zip |
Improve psql's \dC command to take a pattern parameter. Casts are shown
if their source or target types match the pattern (using the same definition
of "match" as \dT does). Per recent discussion.
Diffstat (limited to 'src/bin/psql/help.c')
-rw-r--r-- | src/bin/psql/help.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c index e21fc150ddc..49db83c03d4 100644 --- a/src/bin/psql/help.c +++ b/src/bin/psql/help.c @@ -3,7 +3,7 @@ * * Copyright (c) 2000-2008, PostgreSQL Global Development Group * - * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.130 2008/08/29 15:52:07 alvherre Exp $ + * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.131 2008/11/06 15:18:36 tgl Exp $ */ #include "postgres_fe.h" @@ -200,7 +200,7 @@ slashUsage(unsigned short int pager) fprintf(output, _(" \\da [PATTERN] list aggregate functions\n")); fprintf(output, _(" \\db [PATTERN] list tablespaces (add \"+\" for more detail)\n")); fprintf(output, _(" \\dc [PATTERN] list conversions\n")); - fprintf(output, _(" \\dC list casts\n")); + fprintf(output, _(" \\dC [PATTERN] list casts\n")); 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")); |