Re: Set Returning Functions (SRF) - request for patch review

From: Joe Conway <mail(at)joeconway(dot)com>
To: Ian Barwick <barwick(at)gmx(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Set Returning Functions (SRF) - request for patch review
Date: 2002-05-12 03:28:58
Message-ID: 3CDDE17A.1060908@joeconway.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Ian Barwick wrote:
> On Monday 06 May 2002 18:51, Joe Conway wrote:
> (...)
>
>>Request for help:
>>-----------------
>>So far I've tested with SQL and C functions.
>
> (...)
>
> Can you post an example of a function in C?
> (I'm trying out your patch from Friday).
>
>
> Thanks,
>
> Ian Barwick

See contrib/dblink. The version in cvs HEAD has two that return sets --
dblink() which returns an int, and dblink_get_pkey() which returns text.
I don't have an example that returns a composite type though. I'll make
one of those for testing some time next week.

Joe

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joe Conway 2002-05-12 03:36:01 Re: troubleshooting pointers
Previous Message Manfred Koizar 2002-05-11 23:17:42 Re: Nested transactions RFC

Browse pgsql-patches by date

  From Date Subject
Next Message Joe Conway 2002-05-12 03:36:01 Re: troubleshooting pointers
Previous Message Manfred Koizar 2002-05-12 01:35:51 HeapTupleHeader accessor macros