Test of value equivalency of row type, feature or bug?

Поиск
Список
Период
Сортировка
От 孙冰
Тема Test of value equivalency of row type, feature or bug?
Дата
Msg-id CA+czfDUU+SU9P73y5mg7bvsp6EQyNKoMcdSP8tQoRbDU_UF8ww@mail.gmail.com
обсуждение исходный текст
Ответы Re: Test of value equivalency of row type, feature or bug?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
Hi All,

Here is the query:

select t=t from (select 1, null) t;

If I manage to catch the documents, the result of the query should be null, as an equivalency comparison of null-contained row-typed values is null. Surprisingly, the query result turns out to be true.

The query is executed against pg11.

Is this behavior a feature or a bug? 

Regards.

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: BUG #15552: Unexpected error in COPY to a foreign table in atransaction
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Test of value equivalency of row type, feature or bug?