Re: Postgres registry access using java - Mailing list pgsql-general

From Jasen Betts
Subject Re: Postgres registry access using java
Date
Msg-id gvluhn$23o$2@reversiblemaps.ath.cx
Whole thread Raw
In response to Postgres registry access using java  ("Anirban Pal" <anirban.pal@newgen.co.in>)
List pgsql-general
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'


pgsql-general by date:

Previous
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: composite type and domain
Next
From: Grzegorz Jaśkiewicz
Date:
Subject: Re: \dt+ on 8.4