Matthew Pettis wrote:
> 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
>
Hello,
I use postgresql on a linux ubuntu platform and the path used by default is /etc/postgresql/8.1/main/pgdata
In reality, this path is a symbolic link to /var/lib/postgresql/8.1/main
I suppose that in the other linux distros, it's near this configuration.
Hope this helps
--
Tovo J. RABEMANANTSOA
INRA - UR1263 EPHYSE
71, Av. Edouard Bourlaux
F-33140 Villenave d'Ornon - France
Téléphone : +33 5 57 12 24 09