Postgresql

Tabelle inklusive Inhalt kopieren

CREATE TABLE newSchema.newTable AS TABLE oldSchema.oldTable;

Tabelle in ein anders Schema verschieben

ALTER TABLE oldschema.table SET SCHEMA newschema;