Re: Version number in psql banner - Mailing list pgsql-hackers

From Simon Riggs
Subject Re: Version number in psql banner
Date
Msg-id 1125613105.3956.254.camel@localhost.localdomain
Whole thread Raw
In response to Re: Version number in psql banner  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Version number in psql banner
List pgsql-hackers
On Thu, 2005-09-01 at 14:53 -0400, Tom Lane wrote:
> Darcy Buskermolen <darcy@wavefire.com> writes:
> > Yes I've seen the same frustration from users,  I think the banner should say
> > something along the lines of "psql client version foo connected to server bar
> > version sfoo" 
> 
> That seems overly verbose, particularly in the normal case where the
> versions are indeed the same.  I could live with seeing a display like
> that when the versions are different.

Thats the way Oracle sql*plus has worked for years, so its fairly
acceptable to a great many people without too many questions.

> The other question is what counts as "different" --- do we want to
> complain like this if the minor versions are different?

Which is much harder to define and could itself have a bug in it, so I
prefer the verbose message.... its much better to know for certain every
time.

Best Regards, Simon Riggs



pgsql-hackers by date:

Previous
From: Allan Wang
Date:
Subject: Re: rename constraint behavior for duplicate names?
Next
From: Tom Lane
Date:
Subject: Re: PL/pgSQL: EXCEPTION NOSAVEPOINT