Re: row-wise comparison question/issue

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: row-wise comparison question/issue
Дата
Msg-id 19129.1161384978@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: row-wise comparison question/issue  (Jeremy Drake <pgsql@jdrake.com>)
Список pgsql-hackers
Jeremy Drake <pgsql@jdrake.com> writes:
> I just think it is quite unexpected that the operator < is defined in some
> places and not in others.

Row-wise comparison isn't an operator, it's a syntactic construct.
Consider

(now(), 'foo', 42) < (SELECT timestampcol, textcol, intcol FROM sometable WHERE ...)

There isn't any single operator in the system that implements that.

(And no, orthogonality is not one of the strong points of SQL...)
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Beta, RC Time?
Следующее
От: dakotali kasap
Дата:
Сообщение: Want to use my own query-plan