Re: Providing catalog view to pg_hba.conf file - Patch submission - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: Providing catalog view to pg_hba.conf file - Patch submission
Date
Msg-id 54F0BA1B.8070607@agliodbs.com
Whole thread Raw
In response to Re: Providing catalog view to pg_hba.conf file - Patch submission  ("Prabakaran, Vaishnavi" <vaishnavip@fast.au.fujitsu.com>)
List pgsql-hackers
On 02/27/2015 10:35 AM, Stephen Frost wrote:
>> From time to time I have to debug why are connection attempts failing,
>> > and with moderately-sized pg_hba.conf files (e.g. on database servers
>> > shared by multiple applications) that may be tricky. Identifying the
>> > rule that matched (and rejected) the connection would be helpful.
> To clarify, I was trying to say that writing that function didn't seem
> very difficult to me.  I definitely think that *having* that function
> would be very useful.
> 
>> > But yes, that's non-trivial and out of scope of this patch.
> For my 2c, I view this as somewhat up to the author.  I wouldn't
> complain if it was included in a new version of this patch as I don't
> think it'd add all that much complexity and it'd be very nice, but I
> certainly think this patch could go in without that too.

Also, a testing function could be written in userspace after this
feature is added.  I can imagine how to write one as a UDF.

-- 
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission
Next
From: Tomas Vondra
Date:
Subject: Re: logical column ordering