PostgreSQL: Fix SQL errors when install Test English (GB) Sample Data

If we install Joomla with PostgreSQL and "Test English (GB) Sample Data", the installation fails with many SQL errors. This commit fixes that issue.

Tested with PostgreSQL 9.3.5.