Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com> writes: > When the set-returning-function feature was written originally, years > ago, the tuple at a time mode did really work tuple at a time. But it > had issues and was axed out of the patch before it was committed, to > keep it simple. The idea was to revisit it at some point, but it hasn't > bothered anyone enough to fix it. It's basically "not implemented yet".
It depends on call context --- you're speaking of the nodeFunctionScan context, but I believe an SRF called in the select targetlist will operate in tuple-at-a-time mode if the function allows.