| From: | Joshua Tolley <eggyknap(at)gmail(dot)com> |
|---|---|
| To: | Anirban Pal <anirban(dot)pal(at)newgen(dot)co(dot)in> |
| Cc: | pgsql-novice(at)postgresql(dot)org, pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Postgres registry access using java |
| Date: | 2009-05-27 15:29:51 |
| Message-ID: | 20090527152951.GM22115@eddie |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general pgsql-novice |
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 what you want, provided Java gives you a
means to access the registry. But what's wrong with "SHOW data_directory;" or
"SELECT setting FROM pg_settings WHERE name = 'data_directory';"?
- Josh / eggyknap
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexander Schöcke | 2009-05-27 16:09:44 | Re: Bloated Table |
| Previous Message | Scott Bailey | 2009-05-27 15:23:36 | Re: composite type and domain |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2009-05-27 15:34:03 | Re: Query Optimization |
| Previous Message | Tom Lane | 2009-05-27 15:09:42 | Re: Transactions |