Re: Patch : PGPASSFILE fix
От | Ashesh Vashi |
---|---|
Тема | Re: Patch : PGPASSFILE fix |
Дата | |
Msg-id | CAG7mmoxSmc4OpHQ4dSC_N_g8oD0_oTLXUkGHxrUOpCKe0kkHFw@mail.gmail.com обсуждение исходный текст |
Ответ на | Patch : PGPASSFILE fix (Prasad <prasad.s@mail.com>) |
Ответы |
Re: Patch : PGPASSFILE fix
|
Список | pgadmin-hackers |
Hi Prasad,
I see couple of issues with your patch.I could not apply your patch straight forwardly.
I had to use the patch utility.
You can find it at https://wiki.postgresql.org/wiki/PgAdmin_Internals#Coding_Style.
It has been kept there keeping in mind about future development extending support of the existing functionality.
You've removed couple of lines in the sysSettings::GetConfigFile(...) function, which is not good.
In your code:
* Checked only for PGPASSFILE environment variable.* Need to check the existence of the file.
* Take required actions (if that file/parent directory does not exists).
* Take required actions (if that file/parent directory does not exists).
i.e. Create parent directory
On Sun, Mar 1, 2015 at 11:08 PM, Prasad <prasad.s@mail.com> wrote:
Hi,
Find attached fix for reading PGPASSFILE environment variable for pg password file.
regards,
Prasad
--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
В списке pgadmin-hackers по дате отправления: