How do I determine my data dir for a created database for pg_ctl?

Поиск
Список
Период
Сортировка
От Matthew Pettis
Тема How do I determine my data dir for a created database for pg_ctl?
Дата
Msg-id 82ba77b80808192233u1d967735r715783d527dbfdef@mail.gmail.com
обсуждение исходный текст
Ответы Re: How do I determine my data dir for a created database for pg_ctl?
Re: How do I determine my data dir for a created database for pg_ctl?
Список pgsql-novice
Hi,

I have a database I can psql into... How can I determine what its
absolute path is so I can use pg_ctl on it to restart it?  Because
when I use pg_ctl, it tells me I have to provide it in the -D flag as
an argument.

Thanks,
matt

--
It is from the wellspring of our despair and the places that we are
broken that we come to repair the world.
-- Murray Waas

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Matthew Pettis"
Дата:
Сообщение: Restarting with pg_ctl, users, and passwords.
Следующее
От: Tovo Rabemanantsoa
Дата:
Сообщение: Re: How do I determine my data dir for a created database for pg_ctl?