Added some Postgres related calls from the feature/centos-support branch.