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:
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
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
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
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