Re: WIP: psql default banner patch - Mailing list pgsql-hackers

From Brendan Jurd
Subject Re: WIP: psql default banner patch
Date
Msg-id 37ed240d0804221725u672a641cx2851f5f8f475800a@mail.gmail.com
Whole thread Raw
In response to Re: WIP: psql default banner patch  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: WIP: psql default banner patch  ("Joshua D. Drake" <jd@commandprompt.com>)
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wed, Apr 23, 2008 at 10:11 AM, Joshua D. Drake  wrote:
> On Wed, 23 Apr 2008 10:07:46 +1000
>  "Brendan Jurd"  wrote:
>  > 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.
>

That's just it, I would want the banner to tell me the server and
client version in the same way, every time.  This information doesn't
stop being interesting when the versions happen to match.

With your proposal, when the banner goes silent about the version, I
need to think "Oh yeah, that means that the server version is the same
as the psql version.  Umm, what version of psql did I execute again?"
Bearing in mind that I might be executing any one of several psqls I
might have installed at any given time, and that the versions I have
installed will differ, depending on which machine I happen to be on.

Cheers,
BJ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFIDoHt5YBsbHkuyV0RAjVJAJ0XU8QBzfgomy29gxNtAjltNB+7QQCgofUG
4dJJFnrrX9yYKwDwNbD+sy4=
=w+7D
-----END PGP SIGNATURE-----


pgsql-hackers by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: WIP: psql default banner patch
Next
From: "Joshua D. Drake"
Date:
Subject: Re: WIP: psql default banner patch