[ -f /etc/profile ] && source /etc/profile

PGDATA=/var/lib/postgresql/data
export PGDATA
