Re: Images in the official documentation

2018-02-23 Thread Tom Lane
Daniel Westermann  writes:
> Is there an agreement not to include that pictures for any reason?

This has been discussed repeatedly (see the archives).  We'd surely
like the ability to include figures, but we've not found any tools that
met the varying requirements people wanted to set --- mainly, that it
be possible to commit readable source text for figures into our git
repo and have updates that were reviewable (ie, didn't amount to a 100%
replacement of one set of gibberish with another one).  In the distant
past, as I recall, we had a GIF or two; but we abandoned that on the
grounds that it was unmaintainable and also incompatible with some
documentation output formats.  I'm not too sure what the state of
play is on the latter point, now that we've switched to XML.

regards, tom lane



Re: pg_hba_file_rules permission issue

2018-02-23 Thread Joby John
Ok, thank you very much Michael

Joby

On 23 Feb 2018 2:09 pm, "Michael Paquier"  wrote:

> On Fri, Feb 23, 2018 at 09:41:27AM +, 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
>


Re: pg_hba_file_rules permission issue

2018-02-23 Thread Michael Paquier
On Fri, Feb 23, 2018 at 09:41:27AM +, 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


signature.asc
Description: PGP signature


pg_hba_file_rules permission issue

2018-02-23 Thread PG Doc comments form
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