Re: pg_hba_file_settings view patch
Michael Paquier <michael.paquier@gmail.com>
From: Michael Paquier <michael.paquier@gmail.com>
To: Haribabu Kommi <kommi.haribabu@gmail.com>
Cc: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2016-11-07T04:36:45Z
Lists: pgsql-hackers
On Mon, Nov 7, 2016 at 12:36 PM, Haribabu Kommi <kommi.haribabu@gmail.com> 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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Invent pg_hba_file_rules view to show the content of pg_hba.conf.
- de16ab723888 10.0 landed
-
Restructure hba.c to replace 3 parallel lists with single list of structs.
- 350cb921ae2c 10.0 landed