Thread: pgsql: Fix ecpg crash with bytea and cursor variables.

pgsql: Fix ecpg crash with bytea and cursor variables.

From
Michael Meskes
Date:
Fix ecpg crash with bytea and cursor variables.

Author: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e576f71fbe713d9357d1b480b4993043f7fcc73a

Modified Files
--------------
src/interfaces/ecpg/preproc/ecpg.header            |   9 +-
src/interfaces/ecpg/test/expected/sql-bytea.c      | 141 +++++++++++++++------
src/interfaces/ecpg/test/expected/sql-bytea.stderr | 125 ++++++++++++------
src/interfaces/ecpg/test/expected/sql-bytea.stdout |   1 +
src/interfaces/ecpg/test/sql/bytea.pgc             |  13 +-
5 files changed, 201 insertions(+), 88 deletions(-)