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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-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

Browse pgsql-bugs by date

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

Browse pgsql-patches by date

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