Adding in missing pg-database.sql fix

--HG--
branch : 1.4