Re: C function accepting/returning cstring vs. text - Mailing list pgsql-hackers

From Tom Lane
Subject Re: C function accepting/returning cstring vs. text
Date
Msg-id 15719.1264632395@sss.pgh.pa.us
Whole thread Raw
In response to Re: C function accepting/returning cstring vs. text  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
List pgsql-hackers
Heikki Linnakangas <heikki.linnakangas@enterprisedb.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.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: make everything target
Next
From: "David E. Wheeler"
Date:
Subject: Re: make everything target