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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Extension ownership and misuse of SET ROLE/SET SESSION AUTHORIZATION
Дата
Msg-id 650182.1635523483@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Extension ownership and misuse of SET ROLE/SET SESSION AUTHORIZATION  (Daniel Gustafsson <daniel@yesql.se>)
Ответы Re: Extension ownership and misuse of SET ROLE/SET SESSION AUTHORIZATION  (Daniel Gustafsson <daniel@yesql.se>)
Список pgsql-hackers
Daniel Gustafsson <daniel@yesql.se> writes:
> On 13 Feb 2020, at 23:55, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Given the current behavior of SET ROLE and SET SESSION AUTHORIZATION,
>>> I don't actually see any way that we could get these features to
>>> play together.

> The recent work on pg_dump reminded me about this thread, AFAICT this was never
> addressed?  Are you including it in the current line of work (if so, sorry for
> missing it in the threads) or should I take a stab at it?

No, I'm not working on this --- I'd kind of forgotten about it.
People didn't seem to like the idea of loosening the requirements
for SET ROLE, but I'm not sure how to solve the extension-ownership
problem without it.

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

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "David G. Johnston"
Дата:
Сообщение: Re: Vulnerability identified with Postgres 13.4 for Windows
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: enhance pg_log_backend_memory_contexts() to log memory contexts of auxiliary processes