Re: Insert zero to auto increment serial column

Поиск
Список
Период
Сортировка
От David Johnston
Тема Re: Insert zero to auto increment serial column
Дата
Msg-id 1396447151794-5798336.post@n5.nabble.com
обсуждение исходный текст
Ответ на Insert zero to auto increment serial column  (loc <c320sky@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: Insert zero to auto increment serial column
Следующее
От: Shaun Thomas
Дата:
Сообщение: Re: Insert zero to auto increment serial column