How to create a temporary function in PostgreSQL? How to create a temporary function in PostgreSQL? postgresql postgresql