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 <[email protected]>

Conflicts:
        src/interfaces/ecpg/preproc/type.c
        src/interfaces/ecpg/test/expected/sql-desc.c

Branch
------
REL8_4_STABLE

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

Modified Files
--------------
src/interfaces/ecpg/preproc/type.c                |    2 +-
src/interfaces/ecpg/test/expected/sql-desc.c      |   14 +++++++-------
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 +-
5 files changed, 11 insertions(+), 11 deletions(-)


-- 
Sent via pgsql-committers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

Reply via email to