Re: get rid of psql welcome message

From: Mike Aubury <mike(dot)aubury(at)aubit(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>
Subject: Re: get rid of psql welcome message
Date: 2008-04-17 13:38:07
Message-ID: 200804171438.07269.mike.aubury@aubit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Am I missing something..

$ psql -q testdb
testdb=#

And - if you're using bash - you could just

$ alias "psql=psql -q"
$ psql testdb
testdb=#

On Thursday 17 April 2008 13:39:43 Peter Eisentraut wrote:
> Around <http://archives.postgresql.org/pgsql-patches/2008-01/msg00089.php>
> it was proposed to truncate the psql welcome screen. What do you think
> about that?
>
> Personally, I'd get rid of it all, because it gets boring after about three
> uses, so that we would be at
>
> peter(at)colt:~$ psql testdb
> testdb=#
>
> The version mismatch warning would remain, of course.
>
> I'd also like to get rid of the SSL notice but I'm not sure what to replace
> it by. Something in the prompt perhaps?
>
> Btw., any user could put the welcome message in his own psqlrc file via
> \echo commands in case they are really attached to it.

--
Mike Aubury

Aubit Computing Ltd is registered in England and Wales, Number: 3112827
Registered Address : Clayton House,59 Piccadilly,Manchester,M1 2AQ

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message A. Kretschmer 2008-04-17 13:45:35 Re: get rid of psql welcome message
Previous Message Stephen Frost 2008-04-17 13:30:04 Re: get rid of psql welcome message