Thread: pgsql: Fixed array handling in ecpg.

pgsql: Fixed array handling in ecpg.

From
Michael Meskes
Date:
Fixed array handling in ecpg.

When ecpg was rewritten to the new protocol version not all variable types
were corrected. This patch rewrites the code for these types to fix that. It
also fixes the documentation to correctly tell the status of array handling.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/1f393fc923ec77f25fd37e16fd8ccb480df82ebb

Modified Files
--------------
doc/src/sgml/ecpg.sgml                             |   11 +-
src/interfaces/ecpg/ecpglib/data.c                 |   63 +++--
src/interfaces/ecpg/ecpglib/execute.c              |  280 ++++++++------------
src/interfaces/ecpg/test/expected/sql-array.c      |  180 +++++++++----
src/interfaces/ecpg/test/expected/sql-array.stderr |  124 ++++++---
src/interfaces/ecpg/test/expected/sql-array.stdout |   20 +-
src/interfaces/ecpg/test/expected/sql-oldexec.c    |  109 ++++----
.../ecpg/test/expected/sql-oldexec.stderr          |  144 +++++-----
src/interfaces/ecpg/test/sql/array.pgc             |   50 +++-
src/interfaces/ecpg/test/sql/oldexec.pgc           |    5 +-
10 files changed, 533 insertions(+), 453 deletions(-)