Re: full featured alter table?

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: full featured alter table?
Дата
Msg-id 20030613224828.GC1934@dcc.uchile.cl
обсуждение исходный текст
Ответ на Re: full featured alter table?  (Reynard Hilman <reynardmh@lightsky.com>)
Список pgsql-general
On Fri, Jun 13, 2003 at 05:05:32PM +0000, Reynard Hilman wrote:

> As far as I remember when working with Oracle, it allows you to change
> the data as long as you don't lose or corrupt your data. So, for
> example, changing varchar(20) to varchar(40) should be ok, but the
> reverse might not be ok. It'd be nice if it allows you to change the
> type from varchar(40) to varchar(20) if you don't have any data that is
> larger than varchar(20). I don't know how much complexity that will add,
> though. well that's just some idea from me.

It's not _that_ hard IMHO.  It's just that no one has ever bothered to
code it.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"El dia que dejes de cambiar dejaras de vivir"

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

Предыдущее
От: "Jim C. Nasby"
Дата:
Сообщение: Re: Index not being used in MAX function (7.2.3)
Следующее
От: Tom Lane
Дата:
Сообщение: Re: full featured alter table?