Itagaki Takahiro <itagaki.takahiro@oss.ntt.co.jp> writes:
> I think PG_TRY blocks are not enough, too. PG_TRY requires a statement
> block, but we need to return from dblink functions per tuple.
That bit will have to be undone. There is no reason for dblink not to
return a tuplestore.
regards, tom lane