Add some test coverage for ecpg's "long long" support.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/test/expected/sql-sqlda.c | modified | +74 −66 |
| src/interfaces/ecpg/test/expected/sql-sqlda.stderr | modified | +177 −149 |
| src/interfaces/ecpg/test/expected/sql-sqlda.stdout | modified | +8 −0 |
| src/interfaces/ecpg/test/sql/sqlda.pgc | modified | +14 −4 |
Discussion
- BUG #15080: ecpg on windows doesn't define HAVE_LONG_LONG_INT 32 messages · 2018-02-23 → 2018-05-20