I've used that method without any problems.  I had to experiment a bit by
creating test tables with different length columns to see what to set
atttypmod to, because I didn't really know what the value meant!  Seemed to
work ok though...
Tamsin

>
> -----------------------------
> update pg_attribute set atttypmod = [column_oid] where attname =
> '[column_name]' where attrelid = (select oid from pg_class where relname =
> '[table_name]');
> -----------------------------
>
> Will doing this cause any problems?
>
> -Dan
>


---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly

Reply via email to