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