Jacob Champion <pchamp...@vmware.com> writes: > On Thu, 2022-03-17 at 18:33 -0400, Tom Lane wrote: >> I think what we ought to do here is separate out the data that we think >> parallel workers need access to. It does not seem wise to say "workers >> can access fields A,B,C of MyPort but not fields X,Y,Z". I do not have >> a concrete proposal for fixing it though.
> v6-0002 has my first attempt at this. I moved authn_id into its own > substruct inside Port, which gets serialized with the parallel key > machinery. (My name selection of "SharedPort" is pretty bland.) Hm. I was more envisioning getting the "sharable" info out of Port entirely, although I'm not quite sure where it should go instead. regards, tom lane