Skip site navigation (1) Skip section navigation (2)

.bashrc for postgres user

From: Steve Petersen <spetey(at)umich(dot)edu>
To: pgsql-novice(at)postgresql(dot)org
Subject: .bashrc for postgres user
Date: 2000-09-05 14:12:14
Message-ID: 39B4FF3E.C6295A13@umich.edu (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-novice by date

Next:From: Leandro FanzoneDate: 2000-09-05 14:41:23
Subject: C++ library probs
Previous:From: TamsinDate: 2000-09-05 10:15:05
Subject: Database security

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group