From: | PG Doc comments form <noreply(at)postgresql(dot)org> |
---|---|
To: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Cc: | robert(dot)verhoeve(at)trivento(dot)nl |
Subject: | Documentation bug |
Date: | 2019-05-16 11:20:07 |
Message-ID: | 155800560765.1352.4307382335771280917@wrigleys.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
The following documentation comment has been logged on the website:
Page: https://www.postgresql.org/docs/9.6/sql-createfunction.html
Description:
In the documentation
https://www.postgresql.org/account/comments/new/9.6/sql-createfunction.html/
(and in the same document for earlier versions) the following text is
present:
[EXTERNAL] SECURITY INVOKER
[EXTERNAL] SECURITY DEFINER
SECURITY INVOKER indicates that the function is to be executed with the
privileges of the user that calls it. That is the default. SECURITY DEFINER
specifies that the function is to be executed with the privileges of the
user that created it.
My comment is about the sentence: "SECURITY DEFINER specifies that the
function is to be executed with the privileges of the user that created
it.". In my opinion this is not quite correct as this implies that when a
function is created the privileges of that user are stored somewhere. This
is not the case. Would it make more sense to change the sentence to:
"SECURITY DEFINER specifies that the function is to be executed with the
privileges of the owner how ownes it."?
From | Date | Subject | |
---|---|---|---|
Next Message | Liudmila Mantrova | 2019-05-16 14:11:37 | some grammar fixes for docs |
Previous Message | Daniel Gustafsson | 2019-05-16 09:26:39 | Re: Typo in GSSAPI docs |