row wise comparison broken

Поиск
Список
Период
Сортировка
От Tatsuo Ishii
Тема row wise comparison broken
Дата
Msg-id 20040909.230901.70226609.t-ishii@sra.co.jp
обсуждение исходный текст
Ответы Re: row wise comparison broken  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Following result seems strange since it is not what the standard
expects:

test=# select (1,1) > (0,10);?column? 
----------f
(1 row)

On the other hand I see following in the doc:

-----------------------------------------
9.17.5. Row-wise Comparison

(expression [, expression ...]) operator (expression [, expression ...])

Each side is a list of scalar expressions; the two lists must be of
the same length. Each side is evaluated and they are compared
row-wise. Presently, only = and <> operators are allowed in row-wise
comparisons.
-----------------------------------------

I guess this means that PostgreSQL does not fully support SQL's
row-wise comparison. We need to add this to the TODO list?
--
Tatsuo Ishii


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

Предыдущее
От: "Greg Sabino Mullane"
Дата:
Сообщение: Re: psql questions: SQL, progname, copyright dates
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: psql questions: SQL, progname, copyright dates