Re: [PATCH] Expose port->authn_id to extensions and triggers
От | Robert Haas |
---|---|
Тема | Re: [PATCH] Expose port->authn_id to extensions and triggers |
Дата | |
Msg-id | CA+TgmoZiXgCCWsKkwpniha-tpgzfKvBQBv2qvMLuyX7qhZAcyg@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [PATCH] Expose port->authn_id to extensions and triggers (Andres Freund <andres@anarazel.de>) |
Ответы |
Re: [PATCH] Expose port->authn_id to extensions and triggers
|
Список | pgsql-hackers |
On Wed, Mar 2, 2022 at 4:27 PM Andres Freund <andres@anarazel.de> wrote: > I don't think we should commit this without synchronizing the authn between > worker / leader (in a separate commit). Too likely that some function that's > marked parallel ok queries the authn_id, opening up a security/monitoring hole > or such because of a bogus return value. It is not free to copy data from the leader to the worker. I don't think we should just adopt a policy of copying everything anyone thinks of, because then most of the time we'll be copying a bunch of stuff that really isn't needed. My gut reaction is to think that this is way too marginal to be worth making parallel-safe, but it is also possible that I just don't know enough to understand its true value. -- Robert Haas EDB: http://www.enterprisedb.com
В списке pgsql-hackers по дате отправления: