Content-Length: 234664 | pFad | http://github.com/postgrespro/postgres/commit/56cbb611ec749ba867a4cfc09c8b7df0f4446620

56 Rewrite dblink_record_internal() and dblink_fetch() to use a tuplestore · postgrespro/postgres@56cbb61 · GitHub
Skip to content

Commit 56cbb61

Browse files
committed
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.
1 parent 875353b commit 56cbb61

File tree

1 file changed

+232
-337
lines changed

1 file changed

+232
-337
lines changed

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/56cbb611ec749ba867a4cfc09c8b7df0f4446620

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy