Re: alter table questions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: alter table questions
Дата
Msg-id Pine.LNX.4.30.0104231741050.758-100000@peter.localdomain
обсуждение исходный текст
Ответ на alter table questions  ("mike" <matrix@quadrent.net>)
Список pgsql-general
mike writes:

> in the current postgres docs alter table is as follows to add a column,
>
> ALTER TABLE distributors ADD COLUMN address VARCHAR(30);
>
> why is it when I add a column with a defualt value the default value is ignored?
> ALTER TABLE ind_personal ADD COLUMN reg_security CHAR(3) NOT NULL DEFAULT '0';

Because no one has ever come around to implementing it.

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


В списке pgsql-general по дате отправления:

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: 7.1 RPM has old JDBC driver - SQL statement too long
Следующее
От: "Gregory Wood"
Дата:
Сообщение: Re: Replication and on-line recovery