Revise pgsql test files