Re: PSQL commands not backwards-compatible - Mailing list pgsql-bugs

From Josh Berkus
Subject Re: PSQL commands not backwards-compatible
Date
Msg-id 200508311000.11549.josh@agliodbs.com
Whole thread Raw
In response to Re: PSQL commands not backwards-compatible  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: PSQL commands not backwards-compatible
List pgsql-bugs
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

pgsql-bugs by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: BUG #1857: Problem with driver ODBC
Next
From: Tom Lane
Date:
Subject: Re: PSQL commands not backwards-compatible