set the data directory for postgres