Tom Lane <tgl@sss.pgh.pa.us> writes:
> The real question is why does the subtransaction actually assign itself
> an XID --- a simple RETURN NEXT operation ought not do that, AFAICS.
> What is it you're doing in there that changes the database?
I suspect the answer to that is the same as the answer to what's actually
creating the subtransaction. plperl_return_next doesn't. I think something
must be doing an actual SPI query, not just a return next.
--
greg