Robert Haas <robertmh...@gmail.com> writes: > On Thu, Jun 23, 2022 at 5:49 PM Andres Freund <and...@anarazel.de> wrote: >> I was thinking we'd basically do it wherever we do a GETSTRUCT() today.
> That seems a little fraught, because you'd be turning what's now > basically a trivial operation into a non-trivial operation involving > memory allocation. Nonetheless, the presence of GETSTRUCT calls should be a good guide to where we need to do something. regards, tom lane