Re: pg_hba_file_settings view patch

Поиск
Список
Период
Сортировка
Искать
От
Michael Paquier
Тема
Re: pg_hba_file_settings view patch
Дата
Msg-id
CAB7nPqT7wgK96JUsiFANE1EHreCV68_gArrVGJeMnkNtzQ3Dpw@mail.gmail.com
Ответ на
Список
Дерево обсуждения
pg_hba_file_settings view patch Haribabu Kommi <kommi.haribabu@gmail.com>
Re: pg_hba_file_settings view patch Simon Riggs <simon@2ndquadrant.com>
Re: pg_hba_file_settings view patch Christoph Berg <myon@debian.org>
Re: pg_hba_file_settings view patch Haribabu Kommi <kommi.haribabu@gmail.com>
Re: pg_hba_file_settings view patch Michael Paquier <michael.paquier@gmail.com>
Re: pg_hba_file_settings view patch Haribabu Kommi <kommi.haribabu@gmail.com>
Re: pg_hba_file_settings view patch Alvaro Herrera <alvherre@2ndquadrant.com>
Re: pg_hba_file_settings view patch Robert Haas <robertmhaas@gmail.com>
Re: pg_hba_file_settings view patch Tom Lane <tgl@sss.pgh.pa.us>
Re: pg_hba_file_settings view patch Vitaly Burovoy <vitaly.burovoy@gmail.com>
Re: pg_hba_file_settings view patch Michael Paquier <michael.paquier@gmail.com>
Re: pg_hba_file_settings view patch Vitaly Burovoy <vitaly.burovoy@gmail.com>
On Mon, Nov 7, 2016 at 12:36 PM, Haribabu Kommi
 wrote:
> The added regression test fails for the cases where the server is loaded
> with
> different pg_hba.conf rules during installcheck verification. Updated patch
> is
> attached with removing those tests.

That's not a full review as I just glanced at this patch a couple of seconds...
#include "utils/guc.h"
+#include "utils/jsonb.h"#include "utils/lsyscache.h"
You don't need to include this header when using arrays.

Implementing a test case is possible as well using the TAP
infrastructure. You may want to look at it and help folks testing the
patch more easily with a set of configurations in pg_hba.conf that
cover a maximum of code paths in your patch.
-- 
Michael


В списке pgsql-hackers по дате отправления
От: Haribabu Kommi
Дата:
От: Pavel Stehule
Дата:
FAQ