Andreas <maps.on@xxxxxxx> 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 -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general