ALTER TABLE yksus1
SET SCHEMA firma1;
Maggiori dettagli nel manuale:https://www.postgresql.org /docs/current/static/sql-altertable.html
Tuttavia non sono sicuro della funzione di attivazione, ma esiste un ALTER FUNCTION .. SET SCHEMA ... equivalente anche.