Re: WIP: psql default banner patch

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: "Brendan Jurd" <direvus(at)gmail(dot)com>
Cc: "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: WIP: psql default banner patch
Date: 2008-04-23 00:11:30
Message-ID: 20080422171130.39dc4c46@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, 23 Apr 2008 10:07:46 +1000
"Brendan Jurd" <direvus(at)gmail(dot)com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Wed, Apr 23, 2008 at 9:28 AM, Joshua D. Drake wrote:
> > Why do we care, if the version matches? Not that I am feeling like
> > fighting about it but it seems just a waste of bytes. It makes
> > sense if the version doesn't match.
> >
>
> To take a field example, I have one site where I run an 8.2 production
> cluster, an 8.3 application testing cluster and my a personal 8.4devel
> cluster for hacking postgres.
>
> In such an environment, it's *very* useful to have instant feedback on
> which server I've just connected to with psql.

The patch as it sits would provide you with that. The only time it
doesn't give you that info is if the version matches.

How do you feel about a \V that allows you to output that?

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2008-04-23 00:12:05 Re: WIP: psql default banner patch
Previous Message Andrew Dunstan 2008-04-23 00:09:44 Re: WIP: psql default banner patch