Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread Anirban Pal
In the pg_settings table, all reference to folder is with reference to data directory. Like "config_file" "C:/Program Files/PostgreSQL/8.3/data/postgresql.conf""data_directory" "C:/Program Files/PostgreSQL/8.3/data""hba_file" "C:/Program Files/PostgreSQL/8.3/data/pg_hba.conf""ident_file"

Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread John R Pierce
Anirban Pal wrote: Thanks Josh for your kind reply. In the pg_settings table all reference to the folder is with reference to data directory. Like "config_file" "C:/Program Files/PostgreSQL/8.3/data/postgresql.conf" "data_directory" "C:/Program Files/PostgreSQL/8.3/data" "hba_file" "C:/P

Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread Jasen Betts
On 2009-05-27, Anirban Pal 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 f

Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread Albe Laurenz
Anirban Pal wrote: > In the pg_settings table, all reference to folder is with reference to data > directory. > No reference to postgres instalation > base directory, i mean where postgres have been installed. That's true, you won't find that in the database. Yurs, Laurenz Albe -- Sent via p

Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread Albe Laurenz
Anirban Pal wrote: > 1st of all thanks for your kind reply. But I can access registry values > using java. Ok, then you have some additional native code installed :^) Does the documentation of this add-on suggest a way to search and traverse Windoes registry keys? >> Can any body tell me how

Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread Dave Page
On Thu, May 28, 2009 at 10:33 AM, Anirban Pal wrote: > @  Laurenz Albe, All > >  1st of all thanks for your kind reply. But I can access registry values > using java. The problem I am facing is, in case of postgres settings > informations are kept under a subdirectory named after the product key.

Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread Anirban Pal
@ Laurenz Albe, All 1st of all thanks for your kind reply. But I can access registry values using java. The problem I am facing is, in case of postgres settings informations are kept under a subdirectory named after the product key. I am able to access from the registry if the path is unique

Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread Anirban Pal
Thanks Josh for your kind reply. In the pg_settings table all reference to the folder is with reference to data directory. Like "config_file" "C:/Program Files/PostgreSQL/8.3/data/postgresql.conf""data_directory" "C:/Program Files/PostgreSQL/8.3/data""hba_file" "C:/Program Files/PostgreSQ

Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread Anirban Pal
Thanks Josh for your kind reply. In the pg_settings table all reference to the folder is with reference to data directory. Like "config_file" "C:/Program Files/PostgreSQL/8.3/data/postgresql.conf""data_directory" "C:/Program Files/PostgreSQL/8.3/data""hba_file" "C:/Program Files/PostgreSQL/8.

Re: [GENERAL] Postgres registry access using java

2009-05-28 Thread Albe Laurenz
Anirban Pal wrote: > 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. Java does not give you access to the Windows registry as this is not portable to other

Re: [GENERAL] Postgres registry access using java

2009-05-27 Thread Joshua Tolley
On Wed, May 27, 2009 at 01:21:40PM +0530, Anirban Pal wrote: >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. Some PL/Java or PL/J function might do

[GENERAL] Postgres registry access using java

2009-05-27 Thread Anirban Pal
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. --- Thanks & Reagrds Anirban Pal | Software Engineer Disclaimer :- This e-mail and any attach