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

From: "Matthew Pettis" <matthew(dot)pettis(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Fwd: How do I determine my data dir for a created database for pg_ctl?
Date: 2008-08-20 05:46:00
Message-ID: 82ba77b80808192246pf39c1e1ka62cf264f962c04b@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ow Mun Heng 2008-08-20 05:56:28 Re: schema name in SQL statement.
Previous Message Matthew Pettis 2008-08-20 05:45:32 Fwd: Restarting with pg_ctl, users, and passwords.

Browse pgsql-novice by date

  From Date Subject
Next Message Klint Gore 2008-08-20 06:02:31 Re: Fwd: How do I determine my data dir for a created database for pg_ctl?
Previous Message Matthew Pettis 2008-08-20 05:45:32 Fwd: Restarting with pg_ctl, users, and passwords.