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.1901040924180.29312@salmo.appl-ecosys.com
Whole thread Raw
In response to Re: Comparing dates in DDL  (Rob Sargent <robjsargent@gmail.com>)
Responses Re: Comparing dates in DDL
List pgsql-general
On Fri, 4 Jan 2019, Rob Sargent wrote:

> Is the end_date always knowable at record insert?

Rob,

   Not always. Sometimes projects have known end dates, other times the end
is interminate until it happens.

> CHECK(end_date is null or start_date <= end_date)

   So a default of NULL should be applied, or just allowed to happen?

Thanks,

Rich


pgsql-general by date:

Previous
From: legrand legrand
Date:
Subject: Re: (Again) Column Store on PostGreSQL
Next
From: Rich Shepard
Date:
Subject: Re: Comparing dates in DDL