Thread: pgsql: Assorted improvements to SECURITY DEFINER functions documentatio
Assorted improvements to SECURITY DEFINER functions documentation. Add a cross-reference from the part of the page that introdues SECURITY INVOKER and SECURITY DEFINER to the part of the page that talks about writing SECURITY DEFINER functions safely, so that users are less likely to miss it. Remove discussion of the pre-8.3 behavior on the theory that it's probably not very relevant any more, that release having gone out of support nearly a decade ago. Add a mention of the new createrole_self_grant GUC, which in certain cases might need to be set to a safe value to avoid unexpected consequences. Possibly this section needs major surgery rather than just these small tweaks, but hopefully this is at least a small step forward. Discussion: http://postgr.es/m/CA+Tgmoauqd1cHQjsNEoxL5O-kEO4iC9dAPyCudSvmNqPJGmy9g@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/6fa66ec88ff29f5449d89e9891a00fe64afae34e Modified Files -------------- doc/src/sgml/ref/create_function.sgml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-)