Correct the postgres handler to use datadir and not pgdatadir