Thread: New psql startup banner

New psql startup banner

From
Bruce Momjian
Date:
psql now shows new text on startup.  The old one just looked bad.
Hope the psql upgrader can merge these changes in. I know we weren't
supposed to touch psql, but I suspect he is not touching the banner.

---------------------------------------------------------------------------

OLD:

Welcome to the POSTGRESQL interactive sql monitor:Please read the file COPYRIGHT for copyright terms of POSTGRESQL

NEW:

Welcome to the PostgreSQL interactive terminal.
(Please read the copyright file for legal issues.)


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


Re: [HACKERS] New psql startup banner

From
Peter Eisentraut
Date:
On Oct 20, Bruce Momjian mentioned:

> psql now shows new text on startup.  The old one just looked bad.
> Hope the psql upgrader can merge these changes in. I know we weren't
> supposed to touch psql, but I suspect he is not touching the banner.

Hah!

$ ./psql template1
Welcome to psql, the PostgreSQL interactive query shell.
(Please type \copyright to see the distribution terms of PostgreSQL.)
PostgreSQL 6.5.2 on i586-pc-linux-gnu, compiled by egcs
Type \h for help with SQL commands,    \? for help on internal slash commands,    \q to quit,    \g or terminate with
semicolonto execute query.
 
template1=> \copyright
memory clobbered before allocated blockAborted (core dumped)

Oops! :)

Okay, I guess the motivation behind this was the question "Where is that
damn COPYRIGHT file?", or maybe I've just been reading the appendix to the
GPL too often.

Anyway, I guess I'll let the balance of the suggestions apply.
-Peter

> 
> ---------------------------------------------------------------------------
> 
> OLD:
> 
> Welcome to the POSTGRESQL interactive sql monitor:
>  Please read the file COPYRIGHT for copyright terms of POSTGRESQL
> 
> NEW:
> 
> Welcome to the PostgreSQL interactive terminal.
> (Please read the copyright file for legal issues.)

-- 
Peter Eisentraut                  Sernanders vaeg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden



Re: [HACKERS] New psql startup banner

From
Bruce Momjian
Date:
> On Oct 20, Bruce Momjian mentioned:
> 
> > psql now shows new text on startup.  The old one just looked bad.
> > Hope the psql upgrader can merge these changes in. I know we weren't
> > supposed to touch psql, but I suspect he is not touching the banner.
> 
> Hah!
> 
> $ ./psql template1
> Welcome to psql, the PostgreSQL interactive query shell.
> (Please type \copyright to see the distribution terms of PostgreSQL.)
> PostgreSQL 6.5.2 on i586-pc-linux-gnu, compiled by egcs
>  
> Type \h for help with SQL commands,
>      \? for help on internal slash commands,
>      \q to quit,
>      \g or terminate with semicolon to execute query.
> template1=> \copyright
> memory clobbered before allocated blockAborted (core dumped)
> 
> Oops! :)
> 
> Okay, I guess the motivation behind this was the question "Where is that
> damn COPYRIGHT file?", or maybe I've just been reading the appendix to the
> GPL too often.
> 
> Anyway, I guess I'll let the balance of the suggestions apply.


I like your version better.  Let's go with that.  I will back out my
patch.


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026