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  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
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"
Дата:
Сообщение: Re: [GENERAL] 2 gig file size limit