Re: Patch to change psql default banner v6

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Alvaro Herrera <alvherre(at)commandprompt(dot)com>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch to change psql default banner v6
Date: 2008-05-15 02:21:46
Message-ID: 200805150221.m4F2LkP16070@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Joshua D. Drake wrote:
> Bruce Momjian wrote:
> > Alvaro Herrera wrote:
> >> Bruce Momjian wrote:
> >>
> >>> My question is whether we agreed that suggesting "help" as the best way
> >>> to get help was what we agreed upon? If we did, I forgot. I thought
> >>> the 'help' ideas was just for people who forgot the help commands.
> >> Please review the previous discussion:
> >>
> >> http://archives.postgresql.org/message-id/1200851790.19135.68.camel%40greg-laptop
> >
> > OK, I just read the thread and saw no one say we should be promoting
> > _only_ 'help' in the startup banner. Where is that email discussion?
> >
>
> http://archives.postgresql.org/pgsql-hackers/2008-04/msg01476.php
>
> And most specifically:
>
> http://archives.postgresql.org/pgsql-hackers/2008-04/msg01376.php

Ah, OK. I had forgotten. Here is the new output:

$ sql test
psql (8.4devel) Type "help" for help.

test=> help

You are using psql, the command-line interface to PostgreSQL.
\h or \help for SQL help
\? for psql help
\q to quit psql

\copyright to view the copyright

test=> \?
General
\copyright show PostgreSQL usage and distribution terms
\g [FILE] or ; send query buffer to server (and results to file or |pipe)
\h [NAME] help on syntax of SQL commands, * for all commands
\q quit psql

Query Buffer
\e [FILE] edit the query buffer (or file) with external editor
...

I moved '\g' up into the "General" section rather than make it a
single-entry section.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Joshua D. Drake 2008-05-15 02:28:49 Re: Patch to change psql default banner v6
Previous Message Joshua D. Drake 2008-05-15 02:08:09 Re: Patch to change psql default banner v6