]> granicus.if.org Git - postgresql/commit
Fix descriptor output in ECPG.
authorMichael Meskes <meskes@postgresql.org>
Thu, 9 Jan 2014 14:41:51 +0000 (15:41 +0100)
committerMichael Meskes <meskes@postgresql.org>
Thu, 9 Jan 2014 14:50:51 +0000 (15:50 +0100)
commit799728b0baa5b9f7c8dd6991808d1ed049e83b76
treeb718bfc80bb40eaa091e7dedbfd951fe38c04c6b
parent97a39f295fd38a6083dfac96a0f1745f60ed5f9a
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>
src/interfaces/ecpg/preproc/type.c
src/interfaces/ecpg/test/expected/compat_informix-describe.c
src/interfaces/ecpg/test/expected/sql-desc.c
src/interfaces/ecpg/test/expected/sql-describe.c
src/interfaces/ecpg/test/expected/sql-dynalloc.c
src/interfaces/ecpg/test/expected/sql-dynalloc2.c
src/interfaces/ecpg/test/expected/sql-dyntest.c