Generate a PostgreSQL CREATE FUNCTION statement, optionally execute the statement if con is not NULL.
Useful links