Thread: bash profile for 9.3, 9.4 are wrong

bash profile for 9.3, 9.4 are wrong

From
Craig Ringer
Date:
Hi

It looks like the postgresql-bashprofile file hasn't been updated in the
last few releases.



[EL-6]$ pwd
/home/craig/projects/pgdg-redhat/9.4/postgresql/EL-6

[EL-6]$ cat postgresql-bashprofile
[ -f /etc/profile ] && source /etc/profile

PGDATA=/var/lib/pgsql/9.2/data
export PGDATA


--
 Craig Ringer                   http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


Re: bash profile for 9.3, 9.4 are wrong

From
Devrim Gündüz
Date:
Hi,

On Wed, 2014-06-18 at 12:13 +0800, Craig Ringer wrote:
> It looks like the postgresql-bashprofile file hasn't been updated in
> the last few releases.
>
> [EL-6]$ pwd
> /home/craig/projects/pgdg-redhat/9.4/postgresql/EL-6
>
> [EL-6]$ cat postgresql-bashprofile
> [ -f /etc/profile ] && source /etc/profile
>
> PGDATA=/var/lib/pgsql/9.2/data
> export PGDATA

*sigh*. Fixed.

Thanks!

Regards,
--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Twitter: @DevrimGunduz , @DevrimGunduzTR


Attachment