On Sat, Jan 23, 2010 at 5:53 PM, Ivan Sergio Borgonovo
wrote:
> That confused me further since it seems a 3rd technique to return
> set of records.
>
The heapfuncs.c example uses get_call_result_type() to get the
tupledesc and calls heap_form_tuple() to construct the return value,
just like the d
On Sat, 23 Jan 2010 15:54:04 +
Greg Stark wrote:
> On Sat, Jan 23, 2010 at 12:56 PM, Ivan Sergio Borgonovo
> wrote:
> > And if I can... how, why and when... because I didn't find any
> > clear example in the source tree that gives me a clue about when
> > I'd use one form or the other.
> >
>
On Sat, Jan 23, 2010 at 12:56 PM, Ivan Sergio Borgonovo
wrote:
> And if I can... how, why and when... because I didn't find any clear
> example in the source tree that gives me a clue about when I'd use
> one form or the other.
>
There are a few contrib modules which make good examples, you could