From: | "Josef J(dot) Micka" <postgres(at)maylo(dot)cz> |
---|---|
To: | pgsql-admin(at)postgresql(dot)org |
Subject: | Re: problem with initlocation |
Date: | 2006-09-01 07:22:13 |
Message-ID: | 44F7DFA5.2060409@maylo.cz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
Tom Lane wrote:
>"Josef J. Micka" <postgres(at)maylo(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | RW | 2006-09-01 08:21:47 | Re: pg_dump: schema with OID 16396 does not exist |
Previous Message | Tom Lane | 2006-09-01 02:01:36 | Re: Strange message followed by server crash |