pgsql: Add some test coverage for ecpg's "long long" support.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add some test coverage for ecpg's "long long" support.
Date: 2018-05-18 17:05:22
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add some test coverage for ecpg's "long long" support.

This will only actually exercise the "long long" code paths on platforms
where "long" is 32 bits --- otherwise, the SQL bigint type maps to
plain "long", and we will test that code path instead. But that's
probably sufficient coverage, and anyway we weren't testing either
code path before.

Dang Minh Huong, tweaked a bit by me

Discussion: https://postgr.es/m/[email protected]

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e21085da56a9905b7224b18389f16a5d65c0fb52

Modified Files
--------------
src/interfaces/ecpg/test/expected/sql-sqlda.c | 140 ++++-----
src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 326 +++++++++++----------
src/interfaces/ecpg/test/expected/sql-sqlda.stdout | 8 +
src/interfaces/ecpg/test/sql/sqlda.pgc | 18 +-
4 files changed, 273 insertions(+), 219 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2018-05-18 20:12:34 pgsql: Further adjust comment in get_partition_dispatch_recurse.
Previous Message Tom Lane 2018-05-18 16:10:46 pgsql: Small improvement for plpgsql regression test.