pgsql: Fix descriptor output in ECPG.

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix descriptor output in ECPG.
Date: 2014-01-09 15:19:44
Message-ID: E1W1HOa-0006qT-Kd@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)gmail(dot)com>

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/9f5b3a1a1eb7f4b3b768654867777e0877bfda04

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Meskes 2014-01-09 15:20:29 pgsql: Fix descriptor output in ECPG.
Previous Message Heikki Linnakangas 2014-01-09 12:00:52 pgsql: Refactor checking whether we've reached the recovery target.