Re: behaviour of inequalities with row constructors - Mailing list pgsql-bugs

From Tom Lane
Subject Re: behaviour of inequalities with row constructors
Date
Msg-id 11688.1049394052@sss.pgh.pa.us
Whole thread Raw
In response to behaviour of inequalities with row constructors  (Chris Studholme <cvs@cs.utoronto.ca>)
List pgsql-bugs
Chris Studholme <cvs@cs.utoronto.ca> writes:
> What follows is not necessarily a bug, but may be a misinterpretation of
> the SQL standard.

Yeah, it's a bug; the implementation of row comparisons in PG is
completely bogus.  (The parser just expands it out to an AND clause
of scalar comparisons, which works for = but not for < or >.)  This
is (or should be) on the TODO list, but no one has gotten around to
it yet.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Chris Studholme
Date:
Subject: behaviour of inequalities with row constructors
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #932: some system tables are not accessible