pgsql: Fixed array handling in ecpg. - Mailing list pgsql-committers

From Michael Meskes
Subject pgsql: Fixed array handling in ecpg.
Date
Msg-id E1YL8cJ-000124-Hn@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Speed up CRC calculation using slicing-by-8 algorithm.
Next
From: Tom Lane
Date:
Subject: pgsql: Fix GEQO to not assume its join order heuristic always works.