mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +03:00
(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.