Skip site navigation (1) Skip section navigation (2)

Re: [BUGS] PSQL commands not backwards-compatible

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Greg Sabino Mullane <greg(at)turnstep(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: [BUGS] PSQL commands not backwards-compatible
Date: 2005-09-02 01:06:18
Message-ID: 200509020106.j8216IM15507@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-patches
Greg Sabino Mullane wrote:
[ There is text before PGP section. ]
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Four years later, people were saying:
> 
> >> OK, this new patch prints a warning on any major version
> >> mismatch, newer or older.
> >
> > I would suggest showing both the client and server versions that
> > mismatched. If you're in a scenario with several versions on the same
> > machine of both client and server (hosting scenario, I'd imagine), that
> > would certainly help.
> 
> This all seems so familiar somehow... :)
> 
> http://archives.postgresql.org/pgsql-patches/2001-11/msg00184.php

Yep.  I think the reason it is acceptable now is that the server version
is supplied automatically via the protocol, so we don't need to issue a
query on every psql startup to check it.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-patches by date

Next:From: Christopher Kings-LynneDate: 2005-09-02 01:16:59
Subject: Re: PL/pgSQL: EXCEPTION NOSAVEPOINT
Previous:From: Tom LaneDate: 2005-09-01 23:18:25
Subject: Re: PL/pgSQL: EXCEPTION NOSAVEPOINT

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group