Derik Barclay <dbarclay(at)givex(dot)com> writes:
> Specificaly I am looking at executing something like this:
> UPDATE pg_attribute SET atttypmod = 16 where attname = 'x' AND attrelid =
> (select pg_class.oid from pg_class where relname = 'mytable');
If you have any indexes or views referencing this column, then it's a
bit harder. But for the table itself I believe that will work.
regards, tom lane