Patch to change psql default banner

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: Patch to change psql default banner
Date: 2008-04-23 21:41:20
Message-ID: 20080423144120.1aea8ff9@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
psql_patch_v5.diff text/x-patch 4.6 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2008-04-23 22:30:57 Proposed patch - psql wraps at window width
Previous Message Tom Lane 2008-04-23 15:59:11 Re: Improve shutdown during online backup, take 4