Re: problem with initlocation - Mailing list pgsql-admin

From Tom Lane
Subject Re: problem with initlocation
Date
Msg-id 8413.1157039623@sss.pgh.pa.us
Whole thread Raw
In response to problem with initlocation  ("Josef J. Micka" <postgres@maylo.cz>)
Responses Re: problem with initlocation  ("Josef J. Micka" <postgres@maylo.cz>)
List pgsql-admin
"Josef J. Micka" <postgres@maylo.cz> writes:
> i want to make database in another place and i'm unable to use
> initlocation, and i don't know, what i'm doing wrong.

> this is what i do, and i think it's correct.

> www:/home/db/postgres$ su postgres

Try "su - postgres" ... plain su retains root's environment.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Josef J. Micka"
Date:
Subject: problem with initlocation
Next
From: Scott Marlowe
Date:
Subject: Re: problem with initlocation