Re: pg_hba_lookup function to get all matching pg_hba.conf entries - Mailing list pgsql-hackers

From Haribabu Kommi
Subject Re: pg_hba_lookup function to get all matching pg_hba.conf entries
Date
Msg-id CAJrrPGexBgEaSoq65LiCW5zSmH4XA3wWz7_a_GTq0s8GB4pETg@mail.gmail.com
Whole thread Raw
In response to Re: pg_hba_lookup function to get all matching pg_hba.conf entries  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: pg_hba_lookup function to get all matching pg_hba.conf entries
List pgsql-hackers
On Mon, Mar 21, 2016 at 2:00 PM, Alvaro Herrera
<alvherre@2ndquadrant.com> wrote:
> Haribabu Kommi wrote:
>
>> > Check.
>> >
>> > +} lookup_hba_line_context;
>> > ^^^^^ but why TAB here?
>>
>> corrected. I am not sure why pg_indent is adding a tab here.
>
> It's because lookup_hba_line_context is not listed in typedefs.list.
> I suggest adding it and all other new typedefs you add, and rerunning
> pgindent, as the lack of those may affect other places where those names
> appear.

Thanks for the details. I added the new typedef into typedefs.list file.
Updated patch is attached.

Regards,
Hari Babu
Fujitsu Australia

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: extend pgbench expressions with functions
Next
From: Haribabu Kommi
Date:
Subject: Re: pam auth - add rhost item