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

Re: Patch to change psql default banner v6

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: David Fetter <david(at)fetter(dot)org>, "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <bruce(at)momjian(dot)us>, pgsql-patches(at)postgresql(dot)org
Subject: Re: Patch to change psql default banner v6
Date: 2008-05-16 01:22:18
Message-ID: 482CE1CA.5090003@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-patches

Alvaro Herrera wrote:
> Andrew Dunstan wrote:
>
>   
>> Second, it's not nearly as easy as that:
>> . new commands have been added
>> . postgres features have been added
>> . catalogs have changed
>>     
>
> Well, this just means a different piece of SQL needs to be sent for a
> command depending on the server version, right?  It's not like that's
> tremendously different.  The nice thing about most \X commands is that
> they embed everything they need in a bunch of SQL, and they don't need
> much else in C code.  So it's not all that difficult.
>
> And for commands that have been added later, an initial version could
> just say "this server version does not support this command".  It would
> be already a huge improvement.
>
> Probably the biggest change would be to support versions that did not
> have schemas, but I think it would be OK to punt on that.  We already
> stopped supporting 7.2 anyway.
>   

Have at it then. Prove me wrong.

cheers

andrew

In response to

Responses

pgsql-patches by date

Next:From: Tom LaneDate: 2008-05-16 03:07:37
Subject: Re: Partial match in GIN (next vesrion)
Previous:From: Alvaro HerreraDate: 2008-05-16 01:14:41
Subject: Re: Patch to change psql default banner v6

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