Change type

Поиск
Список
Период
Сортировка
От Vladimir S. Petukhov
Тема Change type
Дата
Msg-id 200501181901.45464.vladimir@sycore.org
обсуждение исходный текст
Ответы Re: Change type  (Michael Fuhr <mike@fuhr.org>)
Re: Change type  (Oleg Bartunov <oleg@sai.msu.su>)
Список pgsql-general
Hi!

Sorry for my English..

I want to dinamcly change type of column. If possible, of course.
Trivial idia - create new temporary column, try to write value from old columt
to temporarity (if type conersion ok - this made using select/update command
and type conversion checks on client's side), then delete old column, and
rename temporary column..
 But this decision looked quite ill...

Do you have better idea?

--
Я доcтаю из шиpоких штанин,
В котоpых гpажданка одета,
Воcемь ноpмальных. И двадцать один
Запpещенных к ношенью пpедмета!

Now playing: 03 - Lara And Reyes - Exotico.mp3
   AutoGenerated by fortune & xmms...

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

Предыдущее
От: Richard_D_Levine@raytheon.com
Дата:
Сообщение: Re: Problem getting sql statement logging to work
Следующее
От: Thomas F.O'Connell
Дата:
Сообщение: Re: Question on output of VACUUM VERBOSE