set homedir for postgres