Use pg_temp in PostgreSQL's getCreateTempIDTableSQL

Use pg_temp schema to avoid (internal) race condition when creating (temporary) PostgreSQL function for creating temporary ID tables.
Merge pull request #694 from arkadini/fix-postgresql-concurrent-temp-table

Use pg_temp in PostgreSQL's getCreateTempIDTableSQL