Fix for when APC is not loaded
Fix CREATE DATABASE statement for PostgreSQL