Re: [PATCH] Add reloption for views to enable RLS - Mailing list pgsql-hackers

From walther@technowledgy.de
Subject Re: [PATCH] Add reloption for views to enable RLS
Date
Msg-id 093af31e-c2f8-c2d8-cc56-d1643893d1bd@technowledgy.de
Whole thread Raw
In response to [PATCH] Add reloption for views to enable RLS  (Christoph Heiss <christoph.heiss@cybertec.at>)
List pgsql-hackers
Laurenz Albe:
> I'd be happy with "check_as_owner", except it is unclear *what* is checked.

Yeah, that could be associated with WITH CHECK OPTION, too, as in "do 
the CHECK OPTION stuff as the owner".

> "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

Best

Wolfgang



pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: fairywren is generating bogus BASE_BACKUP commands
Next
From: Joe Conway
Date:
Subject: Re: pgsql: Move scanint8() to numutils.c