Mario Weilguni <[EMAIL PROTECTED]> writes:
> Did somebody ever try to change the type to a compatible type? I plan to
> change a column from oid to int (once it holded a lob, now some sort of id)
> with modifying pg_attribute:
> update pg_attribute
> set atttypid=(select oid from pg_type w
Did somebody ever try to change the type to a compatible type? I plan to
change a column from oid to int (once it holded a lob, now some sort of id)
with modifying pg_attribute:
update pg_attribute
set atttypid=(select oid from pg_type where typname='int4')
where attname='whatever'
and