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