Re: sql row constructor...works!

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Csaba Nagy <nagy(at)ecircle-ag(dot)com>, Merlin Moncure <mmoncure(at)gmail(dot)com>, Michael Glaesemann <grzm(at)myrealbox(dot)com>, Christopher Browne <cbbrowne(at)acm(dot)org>, postgres hackers <pgsql-hackers(at)postgresql(dot)org>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: sql row constructor...works!
Date: 2006-02-08 12:57:46
Message-ID: 20060208125746.GF1985@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Feb 08, 2006 at 07:49:32AM -0500, Stephen Frost wrote:
> * Martijn van Oosterhout (kleptog(at)svana(dot)org) wrote:
> > It's in CVS HEAD, not 8.1
> >
> > > It seems to me that (x,y) > (a,b) means (x > a AND y > b) ... which is
> > > not exactly what you wanted... or I'm missing something ?
> >
> > Yes, it changed because someone pointed out that the behaviour in 8.1
> > was wrong.
>
> Sounds like a bug, will it be in 8.1.3 or do we have to wait till 8.2
> for it? Sounds very interesting indeed...

Well, the bug is really that we accept the syntax but do the wrong
thing. I don't know when it was added but the quick fix would be to
refuse the syntax. I think the changes to make it work were too large
to be in a point release.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2006-02-08 13:32:23 Re: pg_hba.conf alternative
Previous Message Marcio 2006-02-08 12:57:45 Situation with delphi7 x postgresql 8.1.2