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

2002-05-12 Thread 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. Thanks, now I can see what I was doing wrong Yours Ian Barwick ---(end of broadcast)--- TIP 4:

Re: [HACKERS] Set Returning Functions (SRF) - request for patch review and comment

2002-05-11 Thread Ian Barwick
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 ---(end of

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

2002-05-11 Thread Joe Conway
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

[HACKERS] Set Returning Functions (SRF) - request for patch review and comment

2002-05-06 Thread Joe Conway
I've been buried in the backend parser/planner/executor now for the last 2 weeks or so, and I now have a patch for a working implementation of SRFs as RTEs (i.e. SELECT tbl.* FROM myfunc() AS tbl). I think I'm at a good point to get review and comments. Not everything yet has been implemented

Re: [HACKERS] Set Returning Functions (SRF) - request for patch review and comment

2002-05-06 Thread Christopher Kings-Lynne
Feedback: you're a legend! I'll try to patch my CVS and test it at some point... Chris -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Joe Conway Sent: Tuesday, 7 May 2002 12:51 AM To: pgsql-hackers Subject: [HACKERS] Set Returning Functions (SRF