Re: pg_hba_lookup function to get all matching pg_hba.conf entries

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Haribabu Kommi <kommi(dot)haribabu(at)gmail(dot)com>
Cc: "Shulgin, Oleksandr" <oleksandr(dot)shulgin(at)zalando(dot)de>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_hba_lookup function to get all matching pg_hba.conf entries
Date: 2015-12-23 13:55:23
Message-ID: CAB7nPqS45K+jZJtNSeU=2Mt6g40VEAqtKvQmsoLmNb2LK6KUTw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Dec 23, 2015 at 8:56 PM, Haribabu Kommi
<kommi(dot)haribabu(at)gmail(dot)com> wrote:
> On Wed, Dec 23, 2015 at 8:54 PM, Shulgin, Oleksandr <oleksandr(dot)shulgin(at)zalando(dot)de> wrote:
>> 5. Some tests demonstrating possible output would be really nice to have.
>
> Do you mean regression tests? In case of install check case, the results are
> based on the server configuration that is running. It may be difficult to write
> tests to pass in all scenarios. Because of this reason i didn't add them.

We have an infrastructure in src/test/perl to set up servers with
specific configurations and write regression tests. You should just
use that,

(Moved this patch to next CF as discussion is still actively going on).
--
Michael

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Shulgin, Oleksandr 2015-12-23 14:02:48 Re: pg_hba_lookup function to get all matching pg_hba.conf entries
Previous Message Michael Paquier 2015-12-23 13:52:20 Re: BUG #13741: vacuumdb does not accept valid password