]> granicus.if.org Git - postgresql/commitdiff
Fix psql help: \da+ is same as \da, but \daS is not.
authorRobert Haas <rhaas@postgresql.org>
Wed, 26 May 2010 19:29:22 +0000 (19:29 +0000)
committerRobert Haas <rhaas@postgresql.org>
Wed, 26 May 2010 19:29:22 +0000 (19:29 +0000)
Noted by Stephen Frost.

src/bin/psql/help.c

index 98f13750bf26c41c8f908ccd98e4af5e451d7e76..47fa934db53df4dee05951dda3d4c9d1e880dcba 100644 (file)
@@ -3,7 +3,7 @@
  *
  * Copyright (c) 2000-2010, PostgreSQL Global Development Group
  *
- * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.158 2010/05/08 16:39:51 tgl Exp $
+ * $PostgreSQL: pgsql/src/bin/psql/help.c,v 1.159 2010/05/26 19:29:22 rhaas Exp $
  */
 #include "postgres_fe.h"
 
@@ -196,7 +196,7 @@ slashUsage(unsigned short int pager)
        fprintf(output, _("  (options: S = show system objects, + = additional detail)\n"));
        fprintf(output, _("  \\d[S+]                 list tables, views, and sequences\n"));
        fprintf(output, _("  \\d[S+]  NAME           describe table, view, sequence, or index\n"));
-       fprintf(output, _("  \\da[+]  [PATTERN]      list aggregates\n"));
+       fprintf(output, _("  \\da[S]  [PATTERN]      list aggregates\n"));
        fprintf(output, _("  \\db[+]  [PATTERN]      list tablespaces\n"));
        fprintf(output, _("  \\dc[S]  [PATTERN]      list conversions\n"));
        fprintf(output, _("  \\dC     [PATTERN]      list casts\n"));