diff options
author | Joe Conway <mail@joeconway.com> | 2010-01-24 22:19:38 +0000 |
---|---|---|
committer | Joe Conway <mail@joeconway.com> | 2010-01-24 22:19:38 +0000 |
commit | 56cbb611ec749ba867a4cfc09c8b7df0f4446620 (patch) | |
tree | 6ff6bc9d398e1a36b66e75f63c090b169c3170ad /src/interfaces/ecpg/test/expected/sql-binary.c | |
parent | 875353b99f64550c2fee1a3a8e3491e69decd9c7 (diff) | |
download | postgresql-56cbb611ec749ba867a4cfc09c8b7df0f4446620.tar.gz postgresql-56cbb611ec749ba867a4cfc09c8b7df0f4446620.zip |
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.
Diffstat (limited to 'src/interfaces/ecpg/test/expected/sql-binary.c')
0 files changed, 0 insertions, 0 deletions