Re: row-wise comparison question/issue - Mailing list pgsql-hackers

From Tom Lane
Subject Re: row-wise comparison question/issue
Date
Msg-id 7860.1161352794@sss.pgh.pa.us
Whole thread Raw
In response to row-wise comparison question/issue  (Jeremy Drake <pgsql@jdrake.com>)
Responses Re: row-wise comparison question/issue  (Jeremy Drake <pgsql@jdrake.com>)
List pgsql-hackers
Jeremy Drake <pgsql@jdrake.com> writes:
> select rowval from myrowtypetable ORDER BY ROW((rowval).*) USING <;
> ERROR:  operator does not exist: record < record

This isn't required by the spec, and it's not implemented.  I don't
see that it'd give any new functionality anyway, since you can always
do ORDER BY rowval.f1, rowval.f2, ...

The cases that are implemented are comparisons of explicit row
constructors, eg "(a,b,c) < (d,e,f)" --- which I think is all
you'll find support for in the spec.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Multiple postmaster + RPM + locale issues
Next
From: Devrim GUNDUZ
Date:
Subject: Re: Multiple postmaster + RPM + locale issues