Fix to the pgsql tests