On Tue, Jul 5, 2022 at 9:34 PM David Rowley <dgrowle...@gmail.com> wrote: > I voiced my dislike for the patch I came up with to fix this issue to > Andres. He suggested that I just add a version of index_form_tuple > that can be given a MemoryContext pointer to allocate the returned > tuple into. > > I like that idea much better, so I've attached a patch to fix it that way. > > If there are no objections, I plan to push this in the next 24 hours.
Apologies for not having looked at this thread sooner, but for what it's worth, I think this is a fine solution. Thanks, -- Robert Haas EDB: http://www.enterprisedb.com