pgsql: Fix psql \h output for case of no parameters (ie, list all the - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix psql \h output for case of no parameters (ie, list all the
Date
Msg-id 20080120211355.9FFB7754108@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix psql \h output for case of no parameters (ie, list all the known commands)
to format properly for the actually needed column width, instead of having
a hard-wired assumption about the longest command name length.  Also make it
respond to the current screen width.  In passing, const-ify the constant
table.

Modified Files:
--------------
    pgsql/src/bin/psql:
        create_help.pl (r1.16 -> r1.17)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/create_help.pl?r1=1.16&r2=1.17)
        help.c (r1.121 -> r1.122)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/help.c?r1=1.121&r2=1.122)

pgsql-committers by date:

Previous
From: qnex@pgfoundry.org (User Qnex)
Date:
Subject: press - pr: Initial translation
Next
From: h-saito@pgfoundry.org (User H-saito)
Date:
Subject: psqlodbc - psqlodbc: Fix problem of CRLF code.