Fix postgres test with the new metrics