Re: alter column type from boolean to char with default

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: alter column type from boolean to char with default
Дата
Msg-id 24205.1154634025@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: alter column type from boolean to char with default  ("Andrew Hammond" <andrew.george.hammond@gmail.com>)
Список pgsql-sql
"Andrew Hammond" <andrew.george.hammond@gmail.com> writes:
> Alternatively, you already have the USING clause to tell you how to
> alter the data. How about using it to alter the default as well?

The reasons not to do that are already set forth in the ALTER TABLE
man page.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Error: out of memory in create table as
Следующее
От: "David Garamond"
Дата:
Сообщение: autoupdating mtime column