Tom Lane wrote:

"Josef J. Micka" <[EMAIL PROTECTED]> 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

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

              http://www.postgresql.org/docs/faq

Reply via email to