I'm looking at modifications to dblink to allow it to make use of table
functions. One item which is very much needed is the ability to define
dblink as returning setof record, so that it can return a tuple as
described at runtime in the query string.
I'm trying to come up with the best method to pass the query string
columndef, or better yet the tuple description, to the function. Any
suggestions on an approach?
Thanks,
Joe