ALTER TABLE ADD COLUMN column SERIAL -- unexpected results

Поиск
Список
Период
Сортировка
Искать
От
Rod Taylor
Тема
ALTER TABLE ADD COLUMN column SERIAL -- unexpected results
Дата
Msg-id
004601c10e17$1a5be030$2205010a@jester
Список
Дерево обсуждения
Re: ALTER TABLE ADD COLUMN column SERIAL -- unexpected results Hiroshi Inoue <Inoue@tpf.co.jp>
Running:
ALTER TABLE table ADD COLUMN column SERIAL;
Defines a column as int4 but does not create the sequence or attempt
to set the default value.

Not a big deal, but I was surprised when the column values were null.

--
Rod Taylor

Your eyes are weary from staring at the CRT. You feel sleepy. Notice
how restful it is to watch the cursor blink. Close your eyes. The
opinions stated above are yours. You cannot imagine why you ever felt
otherwise.

В списке pgsql-hackers по дате отправления
От: Oleg Bartunov
Дата:
Сообщение: Re: handling NULLS in GiST
От: Neil Conway
Дата:
FAQ