Re: Default column value

From: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Default column value
Date: 2016-12-30 15:18:33
Message-ID: alpine.LNX.2.11.1612300717020.11546@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 30 Dec 2016, Tom Lane wrote:

> No, because you can explicitly insert a null. DEFAULT only controls what
> happens when you omit the column in an INSERT command.

tom,

Thanks for clarifying. I did not pick this up from reading the manual and
knew that NULL could be an explicitly-defined default value.

Much appreciated,

Rich

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2016-12-30 15:19:50 Re: Default column value
Previous Message Adrian Klaver 2016-12-30 14:55:36 Re: Default column value