Search Postgresql Archives

Re: Postgres registry access using java

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

 



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" "C:/Program Files/PostgreSQL/8.3/data/pg_ident.conf"No reference to postgres instalation base directory, i mean where postgres have been installed. We know it is possible to install data directory as users's convinient location, may be outside instalation directory. In that case how to fetch postgres instalation directory? I am looking for lib directory, which I can found out by traversing directory path, once I find what is base installed directory for postgresql. Whatever thanks again for your reply. I have opened every system table, to find base directory location. I didn't find, may be I am missing something. Can you enrich me with the table name, where home directory (or installed directory not the data directory) location is mentioned.RegardsAnirban


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 to fetch directory path for lib or
data directory for postgres installation in windows using
registry. Solution using Java language will be highly solicited.

Asking the database server does not work for you?

Yours,
Laurenz Albe Disclaimer :- This e-mail and any attachment may contain confidential, proprietary or legally privileged information. If you are not the original intended recipient and have erroneously received this message, you are prohibited from using, copying, altering or disclosing the content of this message. Please delete it immediately and notify the sender. Newgen Software Technologies Ltd (NSTL) accepts no responsibilities for loss or damage arising from the use of the information transmitted by this email including damages from virus and further acknowledges that no binding nature of the message shall be implied or assumed unless the sender does so expressly with due authority of NSTL.

--
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