Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches

As discussed:

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


Joshua D. Drake

The PostgreSQL Company since 1997: 
PostgreSQL Community Conference:
United States PostgreSQL Association:
Donate to the PostgreSQL Project:

Attachment: psql_patch_v5.diff
Description: text/x-patch (4.6 KB)


pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group