pgsql: Fix descriptor output in ECPG. - Mailing list pgsql-committers

From Michael Meskes
Subject pgsql: Fix descriptor output in ECPG.
Date
Msg-id E1W1HPJ-0006rf-S9@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix descriptor output in ECPG.

While working on most platforms the old way sometimes created alignment
problems. This should fix it. Also the regresion tests were updated to test for
the reported case.

Report and fix by MauMau <maumau307@gmail.com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/d685e2424967509f004d9eb6d005dfb58e21d837

Modified Files
--------------
src/interfaces/ecpg/preproc/type.c                       |    2 +-
.../ecpg/test/expected/compat_informix-describe.c        |    8 ++++----
src/interfaces/ecpg/test/expected/sql-desc.c             |   14 +++++++-------
src/interfaces/ecpg/test/expected/sql-describe.c         |    8 ++++----
src/interfaces/ecpg/test/expected/sql-dynalloc.c         |    2 +-
src/interfaces/ecpg/test/expected/sql-dynalloc2.c        |    2 +-
src/interfaces/ecpg/test/expected/sql-dyntest.c          |    2 +-
7 files changed, 19 insertions(+), 19 deletions(-)


pgsql-committers by date:

Previous
From: Michael Meskes
Date:
Subject: pgsql: Fix descriptor output in ECPG.
Next
From: Michael Meskes
Date:
Subject: pgsql: Changed regression test to ecpg test suite for alignment problem