On 2017/07/13 19:57, Ashutosh Bapat wrote:
> On Thu, Jul 13, 2017 at 12:01 PM, Amit Langote
> <langote_amit...@lab.ntt.co.jp> wrote:
>> The description of \d[S+] currently does not mention that it will list
>> materialized views and foreign tables.  Attached fixes that.
>>
> 
> I guess the same change is applicable to the description of \d[S+] NAME as 
> well.

Thanks for the review.  Fixed in the attached.

Thanks,
Amit
diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c
index b3dbb5946e..3fad56109b 100644
--- a/src/bin/psql/help.c
+++ b/src/bin/psql/help.c
@@ -219,8 +219,8 @@ slashUsage(unsigned short int pager)
 
        fprintf(output, _("Informational\n"));
        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, _("  \\d[S+]                 list tables, views, 
materialized views, sequences, and foreign tables\n"));
+       fprintf(output, _("  \\d[S+]  NAME           describe table, view, 
materialized view, sequence, index, or foreign table\n"));
        fprintf(output, _("  \\da[S]  [PATTERN]      list aggregates\n"));
        fprintf(output, _("  \\dA[+]  [PATTERN]      list access methods\n"));
        fprintf(output, _("  \\db[+]  [PATTERN]      list tablespaces\n"));
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to