.bashrc for postgres user - Mailing list pgsql-novice

From Steve Petersen
Subject .bashrc for postgres user
Date
Msg-id 39B4FF3E.C6295A13@umich.edu
Whole thread Raw
Responses Re: .bashrc for postgres user  (Charles Curley <ccurley@trib.com>)
Re: .bashrc for postgres user  (ghaverla@freenet.edmonton.ab.ca)
List pgsql-novice
Hey folks,

Is there something I don't get about having an unusual home directory
like /var/lib/pgsql for the postgres user (in the RPM installation of
pgsql)?  I like to start postmaster manually, but I don't like to type
the data directory each time.  So I tried exporting EDITOR and PGDATA
env variables in postgres's .bashrc (in /var/lib/pgsql), but it doesn't
work.  If I type '. .bashrc' before typing 'postmaster', though, it
works fine.  What gives?

Thanks!
Steve

pgsql-novice by date:

Previous
From: "Tamsin"
Date:
Subject: Database security
Next
From: Leandro Fanzone
Date:
Subject: C++ library probs