]> 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:41:51 +0000 (15:41 +0100)
commit28fff0ef8b1fadc105aaf28e224e8a5e87866875
tree7691e34f2ba0cde7c8cb627d7b576449b74f56c2
parent47ac4473ac018f1ec5af5efb2d202646169232eb
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