Re: UNIQUE null treatment option

Поиск
Список
Период
Сортировка
От Zhihong Yu
Тема Re: UNIQUE null treatment option
Дата
Msg-id CALNJ-vQNtvaOxmZsvWYTSh5oApUHtMaoWEwXmgNwjvy=madG_g@mail.gmail.com
обсуждение исходный текст
Ответ на UNIQUE null treatment option  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
Hi,

    bool        isunique;
+   bool        nulls_not_distinct;
 } BTSpool;

Looking at the other fields in BTSpool, there is no underscore in field name.
I think the new field can be named nullsdistinct. This way, the double negative is avoided.

Similar comment for new fields in BTShared and BTLeader.

And the naming would be consistent with information_schema.sql where nulls_distinct is used:

+           CAST('YES' AS yes_or_no) AS enforced,
+           CAST(NULL AS yes_or_no) AS nulls_distinct

Cheers

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

Предыдущее
От: "Joel Jacobson"
Дата:
Сообщение: SELECT documentation
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Column Filtering in Logical Replication