Re: Patch to change psql default banner v6 - Mailing list pgsql-patches

From David Fetter
Subject Re: Patch to change psql default banner v6
Date
Msg-id 20080515230250.GF10425@fetter.org
Whole thread Raw
In response to Re: Patch to change psql default banner v6  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: Patch to change psql default banner v6
List pgsql-patches
On Thu, May 15, 2008 at 06:55:31PM -0400, Andrew Dunstan wrote:
> David Fetter wrote:
>>
>> I hate to bike-shed this even further, but I'd like to make those
>> "incompatibility" messages just go away by making 8.4's psql (and
>> all those going forward) support every living version of Postgres
>> at the time of their release, so 8.4's psql would be able to talk
>> seamlessly to Postgres 7.4 :)
>
> I think you must have been out in the sun too long.

One thing I really treasure about working on the Postgres project is
frank feedback. :)

> Just look at the pg_dump code if you want something of an idea of
> what this would involve.

Given that each previous version tied backslash commands to some
particular chunk of SQL, what would be the problem with either
immediately or lazily setting those to the chunks of SQL already
present in previous versions?

Cheers,
David.
--
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Patch to change psql default banner v6
Next
From: David Fetter
Date:
Subject: Re: Patch to change psql default banner v6