pgAdmin III commit: Honour the PGPASSFILE environment variable (if prov

Поиск
Список
Период
Сортировка
От Ashesh Vashi
Тема pgAdmin III commit: Honour the PGPASSFILE environment variable (if prov
Дата
Msg-id E1Ze0Bu-000188-40@gothos.postgresql.org
обсуждение исходный текст
Список pgadmin-hackers
Honour the PGPASSFILE environment variable (if provided)

Current implementation saves/retrieves password from the default .pgpass
(on non-windows)/pgpass.conf (on windows). But - actually when
connections are made libpq honours PGPASSFILE. Hence - we need to do the
same through pgAdmin.

While fetching the configuration file path, we will create the required
directory structure (if permissible and does not exist) to keep the
PGPASSFILE in it. And, create the file represented by PGPASSFILE with
0600 permission (if does not exist).

PATCH: Prasad Somwanshi
Reworked by: Sanket Mehta
Reviewed by: Ashesh Vashi & Sanet Mehta

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=fcbc54678b69f64dcc278fe0ed156cba7f1b2372
Author: Prasad Somwanshi <prasad.s@mail.com>

Modified Files
--------------
CHANGELOG                       |    5 +++
pgadmin/frm/frmConfig.cpp       |    3 --
pgadmin/frm/frmPgpassConfig.cpp |    8 ++---
pgadmin/schema/pgServer.cpp     |    5 ++-
pgadmin/utils/sysSettings.cpp   |   74 ++++++++++++++++++++++++++++++---------
5 files changed, 69 insertions(+), 26 deletions(-)


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Ashesh Vashi
Дата:
Сообщение: pgAdmin 4 commit: Resolved an issue related enabling the menus for the
Следующее
От: Ashesh Vashi
Дата:
Сообщение: Re: Patch : PGPASSFILE fix