[SQL] returning table from a function
Hi How to return a user created table from a function?
[SQL] Creating tables from within functions
Is it possible to issue a CREATE TABLE statement from inside of a PostgreSQL function? If not, then how about from within a PL/pgSQL function? I have tried a lot of different permutations but can't seem to get it to compile and/or run cleanly. For example, consider: CREATE FUNCTION _tes