Postgresql temporary table in function. Definition of Temporary Tables.