Re: possible wierd boolean bug?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: possible wierd boolean bug?
Дата
Msg-id 8115.1103144613@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: possible wierd boolean bug?  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
Список pgsql-hackers
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> Anyways, it would be nice to be able to use the sql row constructor to
> do equality/comparison...wouldn't get caught writing such silly sql
> statements :)

You mean like this?

regression=# select row(1,2,3) = row(1,2,3);?column?
----------t
(1 row)

regression=# select row(1,2,3) = row(1,2,4);?column?
----------f
(1 row)

The semantics aren't right yet for non-equality comparisons, but it
works fine for = and != ...
        regards, tom lane


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

Предыдущее
От: "Merlin Moncure"
Дата:
Сообщение: Re: possible wierd boolean bug?
Следующее
От: Andrew Dunstan
Дата:
Сообщение: race condition for drop schema cascade?