On Wed, Mar 2, 2022 at 4:27 PM Andres Freund <and...@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