Re: Is it possible to control the location of the lock file when starting postgres?
От | Steve Langlois |
---|---|
Тема | Re: Is it possible to control the location of the lock file when starting postgres? |
Дата | |
Msg-id | 7D1090B2-3D68-4C87-940B-7B102B7F3C81@tavve.com обсуждение исходный текст |
Ответ на | Re: Is it possible to control the location of the lock file when starting postgres? (John R Pierce <pierce@hogranch.com>) |
Ответы |
Re: Is it possible to control the location of the lock file
when starting postgres?
Re: Is it possible to control the location of the lock file when starting postgres? |
Список | pgsql-general |
you never did answer my previous question, why are you messing about with manually starting postgres from the wrong user account, when it should be run as a system service with systemctl ?
So currently to create the database I run:
/usr/bin/initdb --pgdata=/usr/test/databases/pgsql/data --auth=ident
And to start the database with:
/usr/bin/postmaster -p 5432 -D /usr/test/databases/pgsql/data
If local is used for unix domain socket connections do I change --auth to --auth-local=ident for initdb?
Thank you.
В списке pgsql-general по дате отправления: