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.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. And 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.
Regards
Anirban