On 2009-05-27, Anirban Pal <anirban.pal@newgen.co.in> wrote:
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_0041_01C9DECE.11E417C0
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi all,
>
> Can any body tell me how to fetch directory path for lib or data =
> directory for postgres installation in windows using registry. Solution =
> using Java language will be highly solicited.=20
why do you want to know that?
here's one way using SQL:
select setting from pgcatalog.pg_settings where name='data_directory'