Fix typo in postgresql adapter