public inbox for [email protected]
help / color / mirror / Atom feedpg_hba_file_rules permission issue
3+ messages / 3 participants
[nested] [flat]
* pg_hba_file_rules permission issue
@ 2018-02-23 09:41 PG Doc comments form <[email protected]>
2018-02-23 14:09 ` Re: pg_hba_file_rules permission issue Michael Paquier <[email protected]>
0 siblings, 1 reply; 3+ messages in thread
From: PG Doc comments form @ 2018-02-23 09:41 UTC (permalink / raw)
To: [email protected]; +Cc: [email protected]
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/10/static/view-pg-hba-file-rules.html
Description:
Hi,
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
Thanks,
Joby
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_hba_file_rules permission issue
2018-02-23 09:41 pg_hba_file_rules permission issue PG Doc comments form <[email protected]>
@ 2018-02-23 14:09 ` Michael Paquier <[email protected]>
2018-02-23 15:15 ` Re: pg_hba_file_rules permission issue Joby John <[email protected]>
0 siblings, 1 reply; 3+ messages in thread
From: Michael Paquier @ 2018-02-23 14:09 UTC (permalink / raw)
To: [email protected]; [email protected]
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
Attachments:
[application/pgp-signature] signature.asc (833B, 2-signature.asc)
download
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: pg_hba_file_rules permission issue
2018-02-23 09:41 pg_hba_file_rules permission issue PG Doc comments form <[email protected]>
2018-02-23 14:09 ` Re: pg_hba_file_rules permission issue Michael Paquier <[email protected]>
@ 2018-02-23 15:15 ` Joby John <[email protected]>
0 siblings, 0 replies; 3+ messages in thread
From: Joby John @ 2018-02-23 15:15 UTC (permalink / raw)
To: Michael Paquier <[email protected]>; +Cc: [email protected]
Ok, thank you very much Michael
Joby
On 23 Feb 2018 2:09 pm, "Michael Paquier" <[email protected]> wrote:
> 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
>
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2018-02-23 15:15 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-02-23 09:41 pg_hba_file_rules permission issue PG Doc comments form <[email protected]>
2018-02-23 14:09 ` Michael Paquier <[email protected]>
2018-02-23 15:15 ` Joby John <[email protected]>
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox