Re: SET NULL / SET NOT NULL

Поиск
Список
Период
Сортировка
От Fernando Nasser
Тема Re: SET NULL / SET NOT NULL
Дата
Msg-id 3C9B61BB.B9461647@redhat.com
обсуждение исходный текст
Ответ на Re: SET NULL / SET NOT NULL  ("Zeugswetter Andreas SB SD" <ZeugswetterA@spardat.at>)
Список pgsql-hackers
Zeugswetter Andreas SB SD wrote:
> 
> Imho it would be nice if the command would look exactly like a create
> table. It is simply convenient to use cut and paste :-) And I haven't
> seen a keyword yet, that would make it more descriptive, certainly not SET.
> 
> ALTER TABLE blah ALTER [COLUMN] col [int4] [NOT NULL] [DEFAULT 32];
> ALTER TABLE blah ALTER [COLUMN] col [int8] [NULL] [DEFAULT 32];
> maybe even [DEFAULT NULL] to drop the default :-)
> 

I like this one.  I would not make COLUMN optional though.

-- 
Fernando Nasser
Red Hat Canada Ltd.                     E-Mail:  fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario   M4P 2C9


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

Предыдущее
От: Greg Copeland
Дата:
Сообщение: Re: Fw: Fw: bad performance on irix
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pg_control contents