Re: Changing column types...

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Changing column types...
Дата
Msg-id GNELIHDDFBOCMGBFGEFOKEPPCBAA.chriskl@familyhealth.com.au
обсуждение исходный текст
Ответ на Re: Changing column types...  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Changing column types...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> > 4. Is there any worth in me submitting a patch that will allow
> rudimentary
> > column type changing, so long as the types are binary compatible???
>
> Hmm.  Seems like that case, and the various ones involving adjustment of
> char/varchar length by hacking atttypmod, would be useful to support via
> ALTER COLUMN even if we don't have a full implementation.  Essentially
> this would be taking the existing folklore about safe ways to hack
> pg_attribute and reducing them to code --- why not do it?

Can you only reduce the length of a varchar (say) or can you actually
increase them as well?

Chris



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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Re: Changing column types...
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: timeout implementation issues