From: | "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com> |
---|---|
To: | Bruce Momjian <bruce(at)momjian(dot)us> |
Cc: | Alvaro Herrera <alvherre(at)commandprompt(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: get rid of psql welcome message |
Date: | 2008-04-19 18:12:06 |
Message-ID: | 480A35F6.8010102@commandprompt.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> help
> returns:
> \g to execute query
> help psql for psql help
> help sql for sql help
>
> Of course we would keep the pre-existing key sequences for those of us
> that have done this for the last decade :)
Actually in thinking about this more... I almost thing the default
prompt should be:
-
psql version 8.2.7, server version 8.3.1 (some features may not work)
SSL: On {cert info}
Type help to get help (tab complete enabled)
-
So on the prompt they can do:
help <Tab> <tab> and it would give back:
help [sql | psql] (or something like that)
Then if they type:
help psql, they get back the current \?
If they type help sql they get back the current \h
If they don't know what they need, help is the shortest path to find
out. If they do know what they need, then we don't need everything else.
Sincerely,
Joshua D. Drake
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2008-04-19 18:12:28 | Re: get rid of psql welcome message |
Previous Message | Magnus Hagander | 2008-04-19 18:11:58 | Re: TODO, FAQs to Wiki? |