pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix printf format string warning on MinGW. 5+ messages / 1 participants [nested] [flat]
* pgsql: Fix printf format string warning on MinGW. @ 2024-12-06 00:02 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Thomas Munro @ 2024-12-06 00:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix printf format string warning on MinGW. Commit 517bf2d91 changed a printf format string to placate MinGW, which at the time warned about "%lld". Current MinGW is now warning about the replacement "%I64d". Reverting the change clears the warning on the MinGW CI task, and hopefully it will clear it on build farm animal fairywren too. Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reported-by: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com> Discussion: https://postgr.es/m/TYAPR01MB5866A71B744BE01B3BF71791F5AEA%40TYAPR01MB5866.jpnprd01.prod.outlook.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/1319997df92447d9b473a538b109b2d1d560c637 Modified Files -------------- src/interfaces/ecpg/test/expected/sql-sqlda.c | 137 +++---- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 450 ++++++++++----------- src/interfaces/ecpg/test/sql/sqlda.pgc | 9 +- 3 files changed, 293 insertions(+), 303 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix printf format string warning on MinGW. @ 2025-12-21 08:38 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Thomas Munro @ 2025-12-21 08:38 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix printf format string warning on MinGW. This is a back-patch of 1319997d to branches 14-17 to fix an old warning about a printf type mismatch on MinGW, in anticipation of a potential expansion of the scope of CI's CompilerWarnings checks. Though CI began in 15, BF animal fairwren also shows the warning in 14, so we might as well fix that too. Original commit message (except for new "Backpatch-through" tag): Commit 517bf2d91 changed a printf format string to placate MinGW, which at the time warned about "%lld". Current MinGW is now warning about the replacement "%I64d". Reverting the change clears the warning on the MinGW CI task, and hopefully it will clear it on build farm animal fairywren too. Backpatch-through: 14-17 Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reported-by: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com> Discussion: https://postgr.es/m/TYAPR01MB5866A71B744BE01B3BF71791F5AEA%40TYAPR01MB5866.jpnprd01.prod.outlook.com Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/d4549176eabd3845475643b7b950dbb03795fbdd Modified Files -------------- src/interfaces/ecpg/test/expected/sql-sqlda.c | 137 +++---- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 450 ++++++++++----------- src/interfaces/ecpg/test/sql/sqlda.pgc | 9 +- 3 files changed, 293 insertions(+), 303 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix printf format string warning on MinGW. @ 2025-12-21 08:39 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Thomas Munro @ 2025-12-21 08:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix printf format string warning on MinGW. This is a back-patch of 1319997d to branches 14-17 to fix an old warning about a printf type mismatch on MinGW, in anticipation of a potential expansion of the scope of CI's CompilerWarnings checks. Though CI began in 15, BF animal fairwren also shows the warning in 14, so we might as well fix that too. Original commit message (except for new "Backpatch-through" tag): Commit 517bf2d91 changed a printf format string to placate MinGW, which at the time warned about "%lld". Current MinGW is now warning about the replacement "%I64d". Reverting the change clears the warning on the MinGW CI task, and hopefully it will clear it on build farm animal fairywren too. Backpatch-through: 14-17 Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reported-by: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com> Discussion: https://postgr.es/m/TYAPR01MB5866A71B744BE01B3BF71791F5AEA%40TYAPR01MB5866.jpnprd01.prod.outlook.com Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b1316b78f8a93a077a9db589644103037c0c1aa6 Modified Files -------------- src/interfaces/ecpg/test/expected/sql-sqlda.c | 137 +++---- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 450 ++++++++++----------- src/interfaces/ecpg/test/sql/sqlda.pgc | 9 +- 3 files changed, 293 insertions(+), 303 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix printf format string warning on MinGW. @ 2025-12-21 08:39 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Thomas Munro @ 2025-12-21 08:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix printf format string warning on MinGW. This is a back-patch of 1319997d to branches 14-17 to fix an old warning about a printf type mismatch on MinGW, in anticipation of a potential expansion of the scope of CI's CompilerWarnings checks. Though CI began in 15, BF animal fairwren also shows the warning in 14, so we might as well fix that too. Original commit message (except for new "Backpatch-through" tag): Commit 517bf2d91 changed a printf format string to placate MinGW, which at the time warned about "%lld". Current MinGW is now warning about the replacement "%I64d". Reverting the change clears the warning on the MinGW CI task, and hopefully it will clear it on build farm animal fairywren too. Backpatch-through: 14-17 Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reported-by: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com> Discussion: https://postgr.es/m/TYAPR01MB5866A71B744BE01B3BF71791F5AEA%40TYAPR01MB5866.jpnprd01.prod.outlook.com Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1cf4f781a5198ecbeb833b1bb8ad496ee4ca088b Modified Files -------------- src/interfaces/ecpg/test/expected/sql-sqlda.c | 137 +++---- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 450 ++++++++++----------- src/interfaces/ecpg/test/sql/sqlda.pgc | 9 +- 3 files changed, 293 insertions(+), 303 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
* pgsql: Fix printf format string warning on MinGW. @ 2025-12-21 08:39 Thomas Munro <tmunro@postgresql.org> 0 siblings, 0 replies; 5+ messages in thread From: Thomas Munro @ 2025-12-21 08:39 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix printf format string warning on MinGW. This is a back-patch of 1319997d to branches 14-17 to fix an old warning about a printf type mismatch on MinGW, in anticipation of a potential expansion of the scope of CI's CompilerWarnings checks. Though CI began in 15, BF animal fairwren also shows the warning in 14, so we might as well fix that too. Original commit message (except for new "Backpatch-through" tag): Commit 517bf2d91 changed a printf format string to placate MinGW, which at the time warned about "%lld". Current MinGW is now warning about the replacement "%I64d". Reverting the change clears the warning on the MinGW CI task, and hopefully it will clear it on build farm animal fairywren too. Backpatch-through: 14-17 Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reported-by: "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com> Discussion: https://postgr.es/m/TYAPR01MB5866A71B744BE01B3BF71791F5AEA%40TYAPR01MB5866.jpnprd01.prod.outlook.com Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/3c5c2b018d5e7d9704e451d4d6de733f00ad04e0 Modified Files -------------- src/interfaces/ecpg/test/expected/sql-sqlda.c | 137 +++---- src/interfaces/ecpg/test/expected/sql-sqlda.stderr | 450 ++++++++++----------- src/interfaces/ecpg/test/sql/sqlda.pgc | 9 +- 3 files changed, 293 insertions(+), 303 deletions(-) ^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2025-12-21 08:39 UTC | newest] Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2024-12-06 00:02 pgsql: Fix printf format string warning on MinGW. Thomas Munro <tmunro@postgresql.org> 2025-12-21 08:38 pgsql: Fix printf format string warning on MinGW. Thomas Munro <tmunro@postgresql.org> 2025-12-21 08:39 pgsql: Fix printf format string warning on MinGW. Thomas Munro <tmunro@postgresql.org> 2025-12-21 08:39 pgsql: Fix printf format string warning on MinGW. Thomas Munro <tmunro@postgresql.org> 2025-12-21 08:39 pgsql: Fix printf format string warning on MinGW. Thomas Munro <tmunro@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox