LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File postgresql-bashprofile of Package postgresql.33 (Project openSUSE:Evergreen:11.4)

# Get PGDATA from /etc/sysconfig/postgresql
if test -f /etc/sysconfig/postgresql; then
   eval eval $(sed -n '/^POSTGRES_DATADIR=/s//PGDATA=/p' /etc/sysconfig/postgresql)
   export PGDATA
fi