From: | Dinesh Kumar <dinesh(dot)kumar(at)enterprisedb(dot)com> |
---|---|
To: | Dave Page <dpage(at)pgadmin(dot)org>, pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org> |
Subject: | Patch for EDB binary path not set by default. |
Date: | 2013-10-09 13:12:01 |
Message-ID: | CAKWsr7i971s2dE4bHHQNFFLkzW=MfT5F_6exfNMCB39N3nwxWw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgadmin-hackers |
Hi Dave/Team,
When we install a 32-bit pgAdmin-III in a windows 64-bit machine, which is
already having the 64-bit EnterpriseDB database installed, then EDB binary
path not set to by default.
Further to my observation, below is the mechanism how the pgAdmin looks for
the PPAS binary path.
A) Read the settings.ini for the entry "EnterpriseDBPath" and get the value.
B) Read the "EnterpriseDBPath" as a key in the registries. If the key is
not found, then create one key and assign the value of settings.ini file.
C) If the registry is found, and still the value of "EnterpriseDBPath" is
null, then we are checking the %PATH% which will be having the
"pg_dump.exe" file and it's a type of "EnterpriseDB".
D) If we don't find any "pg_dump.exe" edb version, then we go for the
default locations to search for the edb version.
I have verified the above A, B and C cases, and those are working fine in a
64-bit machine. But the case D is not working as expected in a 64-bit
machine. Hence, would like to submit a patch for this case.
Kindly let me know your inputs on this patch.
Thanks in advance.
Dinesh
--
*Dinesh Kumar*
Software Engineer
Ph: +918087463317
Skype ID: dinesh.kumar432
www.enterprisedb.co
<http://www.enterprisedb.com/>m<http://www.enterprisedb.com/>
*
Follow us on Twitter*
@EnterpriseDB
Visit EnterpriseDB for tutorials, webinars,
whitepapers<http://www.enterprisedb.com/resources-community> and
more <http://www.enterprisedb.com/resources-community>
Attachment | Content-Type | Size |
---|---|---|
Fix_EnterpriseDBPath_Notset_Bydefault.patch | application/octet-stream | 896 bytes |
From | Date | Subject | |
---|---|---|---|
Next Message | Devrim GÜNDÜZ | 2013-10-09 15:13:05 | Re: 1.18.1 tarball wrapped... |
Previous Message | Dave Page | 2013-10-07 15:26:07 | pgAdmin III commit: Tag REL-1_18_1 has been created. |