postgresql: also disable thread-safety

Accidentally committed only postgres-xc in the last commit.