Re: insert into: NULL in date column

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: "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 16:01:01
Message-ID: alpine.LNX.2.20.1901120800140.10285@salmo.appl-ecosys.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 12 Jan 2019, David G. Johnston wrote:

> Actually, you didn't ask about the check constraint, which is actually
> horribly broken since current_date is not an immutable function.

David,

I know that nulls cannot be validly used in comparisons which makes the
check constraint FUBAR.

Thanks,

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2019-01-12 16:49:11 Re: insert into: NULL in date column
Previous Message David G. Johnston 2019-01-12 15:53:35 Re: insert into: NULL in date column