hi
perhaps I misunderstood something from commits, but I assumed that in
9.1 this operation shouldn't rewrite the table:
CREATE TABLE test ( x varchar(16) );
insert into test select i::text from generate_series(1,1000000) i;
alter table test alter column x set data type varchar(32);
but it does.
In commit log I see information about "binary coercible" (which doesn't
mean much to me) - so I assumed varchars() can work this way.
What am I missing?
Best regards,
depesz
--
The best thing about modern society is how easy it is to avoid contact with it.
http://depesz.com/