Re: Insert zero to auto increment serial column - Mailing list pgsql-general

From David Johnston
Subject Re: Insert zero to auto increment serial column
Date
Msg-id 1396447151794-5798336.post@n5.nabble.com
Whole thread Raw
In response to Insert zero to auto increment serial column  (loc <c320sky@gmail.com>)
List pgsql-general
loc wrote
> Setting the serial column to null to auto increment would also
> work for me.

Can you set it to a literal value DEFAULT?  Only helps for the insert case
(not copy) but that is the mechanism that is used to specify a column and
ask for the default.

David J.




--
View this message in context:
http://postgresql.1045698.n5.nabble.com/Insert-zero-to-auto-increment-serial-column-tp5798318p5798336.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: Insert zero to auto increment serial column
Next
From: Shaun Thomas
Date:
Subject: Re: Insert zero to auto increment serial column