Re: CREATE DATABASE WITH LOCATION - Mailing list pgsql-general

From Tom Lane
Subject Re: CREATE DATABASE WITH LOCATION
Date
Msg-id 3865.1005690128@sss.pgh.pa.us
Whole thread Raw
In response to CREATE DATABASE WITH LOCATION  ("Glen Parker" <glenebob@nwlink.com>)
Responses Re: CREATE DATABASE WITH LOCATION
List pgsql-general
"Glen Parker" <glenebob@nwlink.com> writes:
> having a little problem with the alternate DB location stuff, on redhat
> 7.2/postgres 7.1.3.  'CREATE DATABASE WITH LOCATION 'PGDATA2' claims that
> PGDATA2 environment not set, although i've defined it in .bash_profile (for
> user posgres) and verified that it takes when i 'su -l postgres'.  yes, i
> restarted the postmaster.

Exactly how did you restart the postmaster?

Also, did you remember to "export PGDATA2" from the profile file, not
merely set its value?

            regards, tom lane

pgsql-general by date:

Previous
From: "John Gray"
Date:
Subject: Re: xml support
Next
From: Tom Lane
Date:
Subject: Re: dropdb to a remote host