In Postgres, you can select into a temporary table, is it possible to select into temporary table using a function, sucha as
Select * into temporary table myTempTab