Apply pgsql notice test fixes to PHP-5.5