Andreas <maps(dot)on(at)gmx(dot)net> writes:
> how can I move a table from one schema to another even though it is
> referenced by foreign keys?
ALTER TABLE SET SCHEMA. The foreign keys don't care (at least not
in any remotely modern PG release).
regards, tom lane