pgsql: Rewrite dblink_record_internal() and dblink_fetch() to use a - Mailing list pgsql-committers

From [email protected] (Joe Conway)
Subject pgsql: Rewrite dblink_record_internal() and dblink_fetch() to use a
Date
Msg-id [email protected]
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Rewrite dblink_record_internal() and dblink_fetch() to use a tuplestore
(SFRM_Materialize mode) to return tuples. Since we don't return from the
dblink function in tuplestore mode, release the PGresult with a PG_CATCH
block on error. Also rearrange to share the same code to materialize the
tuplestore. Patch by Takahiro Itagaki.

Modified Files:
--------------
    pgsql/contrib/dblink:
        dblink.c (r1.86 -> r1.87)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/dblink/dblink.c?r1=1.86&r2=1.87)

pgsql-committers by date:

Previous
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Fix assorted core dumps and Assert failures that could occur
Next
From: [email protected] (Tom Lane)
Date:
Subject: pgsql: Apply Tcl_Init() to the "hold" interpreter created by pltcl.