Re: get rid of psql welcome message

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Shane Ambler <pgsql(at)sheeky(dot)biz>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: get rid of psql welcome message
Date: 2008-04-22 08:13:38
Message-ID: 200804221013.39452.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Am Montag, 21. April 2008 schrieb Shane Ambler:
> What if the actual welcome message can be defined in the .psqlrc ?
> Something along the lines of -
>
> WELCOME_MESSAGE="Welcome to <VERS_PSQL> - <VERS_SERVER>\n<SSL_INFO>"

This is basically equivalent to

\echo Welcome to psql :VERSION blah.

You can do most of this already.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Zdenek Kotala 2008-04-22 08:31:53 Re: Regression test fails when BLCKSZ is 1kB
Previous Message Martijn van Oosterhout 2008-04-22 08:02:44 Re: MERGE Specification