[HACKERS] Rewriting existing table tuples on alter type

2012-06-30 Thread Rikard Pavelic
How hard would it be to rewrite table content on composite attribute type change? For simple use cases: create type complex as (i int, j int); create table numbers (c complex); insert into numbers values(row(1,2)); I can work around alter complex from int to bigint fairly easy with alter type

Re: [HACKERS] Rewriting existing table tuples on alter type

2012-06-30 Thread Noah Misch
On Sat, Jun 30, 2012 at 02:59:07PM +0200, Rikard Pavelic wrote: How hard would it be to rewrite table content on composite attribute type change? I wouldn't anticipate especially-thorny challenges. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your