pg.ddx.io pgsql-hackers@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Josh Berkus <josh@agliodbs.com>
To: Stephen Frost <sfrost@snowman.net>
To: Tomas Vondra <tomas.vondra@2ndquadrant.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission
Date: Fri, 27 Feb 2015 10:40:27 -0800
Message-ID: <54F0BA1B.8070607@agliodbs.com> (raw )
In-Reply-To: <WM!c9e02d9b5e023612200a61aac30ec5aa5cfd1ab06f12c4ce6ca1f7b879af56a0a5f434c0dde79550195c82c32731b45a!@asav-3.01.com >
References: <82897A1301080E4B8E461DDAA0FFCF14FD6E@SYD1216 >
<20140629165554.GA5984@toroid.org >
<20140630070646.GY31357@toroid.org >
<CAJrrPGe3sZWKFfsHDCJMXfBOqkf6_w6R_DpsUYn2vQK_tVeU1g@mail.gmail.com >
<54C8156E.1080500@BlueTreble.com >
<CAJrrPGcFk9_svvipFJeLBrVJYOmq6uNy38NsT8jtfo6Bks5RYw@mail.gmail.com >
<54C95C4B.2080901@BlueTreble.com >
<54F09D68.2090700@2ndquadrant.com >
<20150227165950.GP29780@tamriel.snowman.net >
<54F0ADEE.6070004@2ndquadrant.com >
<20150227183518.GR29780@tamriel.snowman.net >
<WM!c9e02d9b5e023612200a61aac30ec5aa5cfd1ab06f12c4ce6ca1f7b879af56a0a5f434c0dde79550195c82c32731b45a!@asav-3.01.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
view thread (92+ messages) latest in thread
Message-ID: <54F0BA1B.8070607@agliodbs.com>
Permalink: ../54F0BA1B.8070607@agliodbs.com/
Also on: postgresql.org/message-id/54F0BA1B.8070607@agliodbs.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: josh@agliodbs.com, sfrost@snowman.net, tomas.vondra@2ndquadrant.com
Subject: Re: Providing catalog view to pg_hba.conf file - Patch submission
In-Reply-To: <54F0BA1B.8070607@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox