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

Christoph Heiss <christoph.heiss@cybertec.at>

From: Christoph Heiss <christoph.heiss@cybertec.at>
To: Julien Rouhaud <rjuju123@gmail.com>
Cc: Laurenz Albe <laurenz.albe@cybertec.at>, pgsql-hackers@postgresql.org, Hans-Jürgen Schönig <hs@cybertec.at>
Date: 2022-01-19T12:11:05Z
Lists: pgsql-hackers

Attachments

Hi,

On 1/19/22 09:30, Julien Rouhaud wrote:
> Hi,
> 
> On Tue, Jan 18, 2022 at 04:16:53PM +0100, Christoph Heiss wrote:
>>
>> I've attached a v2 where I addressed the things you mentioned.
> 
> This version unfortunately doesn't apply anymore:
> http://cfbot.cputube.org/patch_36_3466.log
> === Applying patches on top of PostgreSQL commit ID e0e567a106726f6709601ee7cffe73eb6da8084e ===
> === applying patch ./0001-PATCH-v2-1-3-Add-new-boolean-reloption-security_invo.patch
> === applying patch ./0002-PATCH-v2-2-3-Add-regression-tests-for-new-security_i.patch
> patching file src/test/regress/expected/create_view.out
> Hunk #5 FAILED at 2019.
> Hunk #6 succeeded at 2056 (offset 16 lines).
> 1 out of 6 hunks FAILED -- saving rejects to file src/test/regress/expected/create_view.out.rej
> 
> Could you send a rebased version?

My bad - I attached a new version rebased on latest master.

Thanks,
Christoph Heiss

Commits

  1. Add support for security invoker views.

  2. Replace use of deprecated Python module distutils.sysconfig