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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix psql \h output for case of no parameters (ie, list all the
Date: 2008-01-20 21:13:55
Message-ID: 20080120211355.9FFB7754108@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message User H-saito 2008-01-21 02:09:05 psqlodbc - psqlodbc: Fix problem of CRLF code.
Previous Message User Qnex 2008-01-20 21:09:33 press - pr: Initial translation