Fix typo in postgres adapter