Re: Comparing dates in DDL - Mailing list pgsql-general

From Rich Shepard
Subject Re: Comparing dates in DDL
Date
Msg-id alpine.LNX.2.20.1901040927060.29312@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Comparing dates in DDL  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Comparing dates in DDL  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
On Fri, 4 Jan 2019, David G. Johnston wrote:

> The is null expression is redundant since check constraints pass when the
> result is unknown.

David,

   I wondered about this since NULL can be missing, unknown, or otherwise
defined. Are there benefits to allowing an empty value in that column when
checking that it's later than the start date rather than explicitly setting
a default date after the start date?

Regards,

Rich


pgsql-general by date:

Previous
From: Rich Shepard
Date:
Subject: Re: Comparing dates in DDL
Next
From: Rich Shepard
Date:
Subject: Re: Comparing dates in DDL