Re: insert into: NULL in date column

From: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
To: Ricardo Martin Gomez <rimartingomez(at)hotmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>, Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Subject: Re: insert into: NULL in date column
Date: 2019-01-12 17:22:15
Message-ID: CAKFQuwaMnzrnoeD9+ZGwS_Zepc91o4k0VMYkr_270bkQB-43Ow@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, Jan 12, 2019 at 10:08 AM Ricardo Martin Gomez
<rimartingomez(at)hotmail(dot)com> wrote:
>
> Hi,
> In MYSQL Null date is equal '01/01/1900' or '01/01/1970', I don't remember but you can also use the same logic for the check_constraint.
> Regards

Why? PostgreSQL doesn't need hacks around this...

David J.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David G. Johnston 2019-01-12 17:23:52 Re: insert into: NULL in date column
Previous Message Ricardo Martin Gomez 2019-01-12 17:08:01 Re: insert into: NULL in date column