Patch to change psql default banner - Mailing list pgsql-patches

From Joshua D. Drake
Subject Patch to change psql default banner
Date
Msg-id 20080423144120.1aea8ff9@commandprompt.com
Whole thread Raw
Responses Re: Patch to change psql default banner v6  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-patches
Hello,

As discussed:

http://archives.postgresql.org/pgsql-hackers/2008-04/msg01476.php

The patch does the following:

Adds an Execution line to the \? output.
Changes the help output in mainloop.c to be more useful.
Greatly reduces overall default banner output:
 * shows client version and type help for help only
   * if server doesn't match shows server version too
 * if there is a major version mismatch it throws a warning

Sincerely,

Joshua D. Drake


--
The PostgreSQL Company since 1997: http://www.commandprompt.com/
PostgreSQL Community Conference: http://www.postgresqlconference.org/
United States PostgreSQL Association: http://www.postgresql.us/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate



Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Improve shutdown during online backup, take 4
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Patch to change psql default banner v6