]> granicus.if.org Git - postgresql/commit
Add some test coverage for ecpg's "long long" support.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 May 2018 17:04:59 +0000 (13:04 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 18 May 2018 17:04:59 +0000 (13:04 -0400)
commitd9cbe9c9fce95807d08fb23f420b0a39a1e93483
tree0884523be4a408a4f9fc43060f926a5fef43af11
parent63d3e787f9544d0f2f8b39cf608e2c99a5896bde
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/151935568942.1461.14623890240535309745@wrigleys.postgresql.org
src/interfaces/ecpg/test/expected/sql-sqlda.c
src/interfaces/ecpg/test/expected/sql-sqlda.stderr
src/interfaces/ecpg/test/expected/sql-sqlda.stdout
src/interfaces/ecpg/test/sql/sqlda.pgc