Re: insert into: NULL in date column

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: insert into: NULL in date column
Дата
Msg-id CAKFQuwa+6BXacKks+p9AM9ka4H3iOvW6Z=g=hz_+LphzY_0=Tg@mail.gmail.com
обсуждение исходный текст
Ответ на insert into: NULL in date column  (Rich Shepard <rshepard@appl-ecosys.com>)
Ответы Re: insert into: NULL in date column  (Rich Shepard <rshepard@appl-ecosys.com>)
Список pgsql-general
On Fri, Jan 11, 2019 at 3:56 PM Rich Shepard <rshepard@appl-ecosys.com> wrote:
>
> A table has this column definition:
>
> next_contact date DEFAULT '2020-11-06'
>                 CONSTRAINT valid_next_date
>                 CHECK (next_contact >= CURRENT_DATE),
>
> (and I don't know that it needs a default).

The default does seem a bit arbitrary and pointless...

David J.


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

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: insert into: NULL in date column
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: insert into: NULL in date column