On Fri, Nov 1, 2024 at 3:20 PM Tom Lane <t...@sss.pgh.pa.us> wrote:
> Michel Pelletier <pelletier.mic...@gmail.com> writes: > > Well, you shouldn't be using PERFORM. Not only does it not do the > right thing, but it's not optimized for expanded objects at all: > they'll get flattened both on the way into the statement and on > the way out. Try it with > > graph := set_element(graph, 1, 1, 1); > RETURN nvals(graph); > Ah my bad, you mentioned that already and I missed it, here's the two backtraces with the assignment: https://gist.githubusercontent.com/michelp/20b917686149d482be2359569845f232/raw/ca8349ae4b0469674b4b2c77f34c5a02553583a9/gistfile1.txt > > regards, tom lane >