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:19:50
Message-ID: alpine.LNX.2.11.1612300718530.11546@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, 30 Dec 2016, Adrian Klaver wrote:

> DEFAULT is what is the column is set to if the user does not specify a
> value. As shown above a user can supply a NULL value. To guard against
> that the NOT NULL constraint is required.

Thanks, Adrian. This was not clear to me when I read the manual.

Happy New Year,

Rich

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephen Frost 2016-12-30 15:23:44 Re: LYDB: Feasible to use PG roles instead of application-level security?
Previous Message Rich Shepard 2016-12-30 15:18:33 Re: Default column value