Re: pgAdmin changing pg_hba.conf does not work - Mac and Windows (Fix)

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: pgAdmin changing pg_hba.conf does not work - Mac and Windows (Fix)
Дата
Msg-id CA+OCxoxRwfB7mLcsFyqAto8Dt_KH-hVsbFQvQs7Yu6cascdK9A@mail.gmail.com
обсуждение исходный текст
Ответ на pgAdmin changing pg_hba.conf does not work - Mac and Windows (Fix)  (Dhiraj Chawla <dhiraj.chawla@enterprisedb.com>)
Ответы Re: pgAdmin changing pg_hba.conf does not work - Mac and Windows (Fix)  (Dhiraj Chawla <dhiraj.chawla@enterprisedb.com>)
Список pgadmin-hackers
Hi

On Fri, Mar 1, 2013 at 11:46 AM, Dhiraj Chawla
<dhiraj.chawla@enterprisedb.com> wrote:
> Hi Dave,
>
> Attached is the patch that fixes the issue where if a user connects to
> a server, and then tries to add an entry to pg_hba.conf via
> pgHbaConfig form dialog and the newly added entry does not get saved.
>
> Actually a member variable 'isComment' in the pgHbaConfigLine class
> was not initialized. This class stores data of each line of the
> pg_hba.conf file. On some system the default value was set to true
> while on others it was getting set to false. But for empty lines if it
> is set to true, the other logic in pgHbaConfig form dialogs works as
> expected and the newly added entry is getting saved properly.
>
> Let me know your feedback on the same.

Thanks - works for me! Patch committed.

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Dave Page
Дата:
Сообщение: pgAdmin III commit: Fix the editing of pg_hba.conf files.
Следующее
От: Dhiraj Chawla
Дата:
Сообщение: Re: pgAdmin changing pg_hba.conf does not work - Mac and Windows (Fix)