Re: Omission in GRANT documentation

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laurenz Albe <laurenz.albe@cybertec.at>
Cc: pgsql-hackers@postgresql.org
Date: 2017-10-11T20:58:21Z
Lists: pgsql-hackers
Laurenz Albe <laurenz.albe@cybertec.at> writes:
> grant.sgml says that
>    the default privileges granted to PUBLIC are as follows: CONNECT and
>    CREATE TEMP TABLE for databases; EXECUTE privilege for functions;
>    and USAGE privilege for languages.

> But types also have the USAGE privilege for PUBLIC by default:

Yup, that's an oversight.

> Hence I propose the attached documentation patch.

Pushed, with a bit of additional wordsmithing.

			regards, tom lane


Commits

  1. Doc: fix missing explanation of default object privileges.