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

Re: PSQL commands not backwards-compatible

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: PSQL commands not backwards-compatible
Date: 2005-08-31 17:00:11
Message-ID: 200508311000.11549.josh@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-patches
Tom,

> Can you point to any single one of the past five major releases in which
> psql's backslash commands *WERE* completely backwards-compatible with
> previous versions of PostgreSQL?  This is not breaking news.

Because this is the first time I can remember where *none* of the \ commands 
work with older servers.  And because the error we give is pretty ungraceful.

Hmmm ... how difficult would it be to give a useful error message instead of a 
SQL error?  Something like:

"I'm sorry, that PSQL command did not work.  Most likely, you are connecting 
to a different version of PostgreSQL."

-- 
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2005-08-31 18:05:13
Subject: Re: PSQL commands not backwards-compatible
Previous:From: Alvaro HerreraDate: 2005-08-31 14:36:29
Subject: Re: BUG #1857: Problem with driver ODBC

pgsql-patches by date

Next:From: Tom LaneDate: 2005-08-31 18:05:13
Subject: Re: PSQL commands not backwards-compatible
Previous:From: Magnus HaganderDate: 2005-08-31 08:21:07
Subject: Re: [BUGS] PSQL commands not backwards-compatible

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