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