Re: insert into: NULL in date column

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: insert into: NULL in date column
Date: 2019-01-12 17:23:52
Message-ID: CAKFQuwYoxZojCZGNg-MQoTWacddf20jJH-WL_SqACVyXsUW7Ug@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Jan 12, 2019 at 9:54 AM Rich Shepard <rshepard(at)appl-ecosys(dot)com> wrote:
> > The problem is that check constraints are only applied at time of data
> > change.

> I thought that the check constraint applied at data entry, too.

Inserting new data into a table qualifies as "data change" in my mind...

David J.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2019-01-12 17:33:22 Re: insert into: NULL in date column
Previous Message David G. Johnston 2019-01-12 17:22:15 Re: insert into: NULL in date column