Prueba
CREATE TEMP TABLE mytable AS
SELECT *
FROM orig_table;
Según https://www.postgresql.org/docs/current/ estático/sql-selectinto.html
Prueba
CREATE TEMP TABLE mytable AS
SELECT *
FROM orig_table;
Según https://www.postgresql.org/docs/current/ estático/sql-selectinto.html