From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix compiler warnings in ecpg tests |
Date: | 2019-10-29 08:38:32 |
Message-ID: | E1iPN1M-0000kw-JU@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix compiler warnings in ecpg tests
Under MinGW, when compiling the ecpg test files, you get compiler
warnings about the use of %lld in printf().
These files don't use our printf replacement or the c.h porting layer,
so determine the appropriate format conversion the hard way.
Reviewed-by: Michael Meskes <meskes(at)postgresql(dot)org>
Discussion: https://www.postgresql.org/message-id/flat/760c9dd1-2d80-c223-3f90-609b615f7918%402ndquadrant.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/517bf2d9107f0d45c5fea2e3904e8d3b10ce6bb2
Modified Files
--------------
src/interfaces/ecpg/test/expected/sql-sqlda.c | 136 ++++---
src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 450 ++++++++++-----------
src/interfaces/ecpg/test/sql/sqlda.pgc | 8 +-
3 files changed, 303 insertions(+), 291 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2019-10-30 01:04:00 | pgsql: Fix typos in the code |
Previous Message | Michael Paquier | 2019-10-29 02:10:34 | pgsql: Fix handling of pg_class.relispartition at swap phase in REINDEX |