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

From Peter Eisentraut
Subject Re: pg_hba_lookup function to get all matching pg_hba.conf entries
Date
Msg-id 56494DE3.3020703@gmx.net
Whole thread Raw
In response to pg_hba_lookup function to get all matching pg_hba.conf entries  (Haribabu Kommi <kommi.haribabu@gmail.com>)
Responses Re: pg_hba_lookup function to get all matching pg_hba.conf entries  (Haribabu Kommi <kommi.haribabu@gmail.com>)
List pgsql-hackers
On 7/21/15 5:15 AM, Haribabu Kommi wrote:
> With the output of this view, administrator can identify the lines
> that are matching for the given
> criteria easily without going through the file.

How is this useful?  I could see the use if you want to debug cases of
user foo on host bar says they can't connect, but you can't impersonate
them to verify it.  But then all you need is a function with a scalar
result, not a result set.




pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: pam auth - add rhost item
Next
From: Peter Eisentraut
Date:
Subject: Re: proposal: PL/Pythonu - function ereport