Re: Extension ownership and misuse of SET ROLE/SET SESSION AUTHORIZATION

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Extension ownership and misuse of SET ROLE/SET SESSION AUTHORIZATION
Date: 2021-11-02 10:57:18
Message-ID: EB7AAE58-AE7D-445F-858F-1CB7A48782E2@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 29 Oct 2021, at 20:00, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
>
>> On 29 Oct 2021, at 18:04, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>> Daniel Gustafsson <daniel(at)yesql(dot)se> writes:
>
>>> This patch still seems relevant for back-branches, but starting at 14 this time.
>>
>> I think the appropriate thing to do is stick your patch into all branches
>> for the moment. We can remove it again whenever we invent a fix for the
>> problem.
>
> Fair enough, I'll make that happen.

I added a small note to the doc page and a simple test, unless objections I'll
apply the attached v2 all the way down.

--
Daniel Gustafsson https://vmware.com/

Attachment Content-Type Size
pg_restore_role_v2.patch application/octet-stream 3.4 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Gustafsson 2021-11-02 11:00:15 Re: should we enable log_checkpoints out of the box?
Previous Message osumi.takamichi@fujitsu.com 2021-11-02 10:42:27 RE: Optionally automatically disable logical replication subscriptions on error