Re: Domains vs data types

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Domains vs data types
Дата
Msg-id CAKFQuwYY0OkYMG+uuBNecaAnn7H9HFQ1NDoM3wq-pqZwdJepgg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Domains vs data types  (Ron Clarke <rclarkeai@gmail.com>)
Список pgsql-general
On Wed, Aug 20, 2025 at 9:57 AM Ron Clarke <rclarkeai@gmail.com> wrote:
...and ensure the same defaults, nulls etc are applied accross tables.

Just as a warning - a deviation we have from the SQL Standard regarding domains and their NOT NULL constraints makes specifying one on a domain a bit of a potential trap.  Rely on column NOT NULL.

David J.

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