Search Postgresql Archives

Re: Postgres registry access using java

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2009-05-27, Anirban Pal <anirban.pal@xxxxxxxxxxxx> 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'


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux