Chris Travers <chris@travelamericas.com> writes:
> I have a function which moves a table from one schema to another by
> updating the relnamespace field of pg_class:
> Am I missing anything?
pg_constraint entries related to the table.
Also you need to recurse for each index of the table.
regards, tom lane