From: Josef J. Micka <postgres@maylo.cz>
To: pgsql-admin@postgresql.org
Subject: Re: problem with initlocation
Date: Fri, 01 Sep 2006 09:22:13 +0200
Message-ID: <44F7DFA5.2060409@maylo.cz> (raw)
In-Reply-To: <8413.1157039623@sss.pgh.pa.us>
References: <44F6FA9D.7070509@maylo.cz>
<8413.1157039623@sss.pgh.pa.us>
Tom Lane wrote:
>"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
>
>
thanks, that works
i'm using su only sometimes, and don't know about this apearance. (never
had problems with "su" becausy mostly i'm running it from non-privileged
user, but because user postgres has no password and no shell, i must do
that from root this time)
so thanks again.
regards,
Josef
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: postgres@maylo.cz
Subject: Re: problem with initlocation
In-Reply-To: <44F7DFA5.2060409@maylo.cz>
References: <44F6FA9D.7070509@maylo.cz> <8413.1157039623@sss.pgh.pa.us> <44F7DFA5.2060409@maylo.cz>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox