Re: [PATCH] Add reloption for views to enable RLS

Laurenz Albe <laurenz.albe@cybertec.at>

From: Laurenz Albe <laurenz.albe@cybertec.at>
To: walther@technowledgy.de, Christoph Heiss <christoph.heiss@cybertec.at>, pgsql-hackers@postgresql.org
Cc: Hans-Jürgen Schönig <hs@cybertec.at>
Date: 2022-02-18T14:57:06Z
Lists: pgsql-hackers

Attachments

On Tue, 2022-02-15 at 16:32 +0100, walther@technowledgy.de wrote:
> > "check_permissions_as_owner" is ok with me, but a bit long.
> 
> check_permissions_as_owner is exactly what happens. The additional "as" 
> shouldn't be a problem in length - but is much better to read. I 
> wouldn't associate that with CHECK OPTION either. +1

Here is a new version, with improved documentation and the option renamed
to "check_permissions_owner".  I just prefer the shorter form.

Yours,
Laurenz Albe

Commits

  1. Add support for security invoker views.

  2. Replace use of deprecated Python module distutils.sysconfig