Re: Alternate database locations

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rich Shepard <rshepard(at)appl-ecosys(dot)com>
Cc: Jokerman <jokerman(at)pku(dot)co(dot)id>, pgsql-general(at)postgresql(dot)org
Subject: Re: Alternate database locations
Date: 2002-02-19 04:41:07
Message-ID: 24191.1014093667@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Rich Shepard <rshepard(at)appl-ecosys(dot)com> writes:
> Next I changed the environment variable, PGDATA2, to
> /opt/paisley/acctdata/ in postgres's and my ~/.bash_profile, restarted the
> postmaster and got the same error message: createdb failed because the
> postmaster doesn't understand PGDATA2.

Simply changing your .profile doesn't change the environment of your
running shell. Did you log out/back in? Or manually do
export PGDATA2=xxx
?

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Rich Shepard 2002-02-19 04:57:13 Re: Alternate database locations
Previous Message Rich Shepard 2002-02-19 04:19:00 Re: Alternate database locations