Re: pg_hba_file_rules permission issue

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: jobyjc(at)gmail(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: pg_hba_file_rules permission issue
Date: 2018-02-23 14:09:26
Message-ID: 20180223140926.GC9580@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

On Fri, Feb 23, 2018 at 09:41:27AM +0000, PG Doc comments form wrote:
> According to the documentation, I assume normal users will be able to view
> pg_hba_file_rules once they are granted select privileges. But for the
> privileged user it's giving following error while trying to view records:
>
> ERROR: permission denied for function pg_hba_file_rules
> SQL state: 42501

I think that you need as well execution rights on pg_hba_file_rules() to
give access to it.
--
Michael

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Joby John 2018-02-23 15:15:13 Re: pg_hba_file_rules permission issue
Previous Message PG Doc comments form 2018-02-23 09:41:27 pg_hba_file_rules permission issue