pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Silence compiler warnings from some older compilers. 6+ messages / 1 participants [nested] [flat]
* pgsql: Silence compiler warnings from some older compilers. @ 2022-06-01 21:22 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2022-06-01 21:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence compiler warnings from some older compilers. Since a117cebd6, some older gcc versions issue "variable may be used uninitialized in this function" complaints for brin_summarize_range. Silence that using the same coding pattern as in bt_index_check_internal; arguably, a117cebd6 had too narrow a view of which compilers might give trouble. Nathan Bossart and Tom Lane. Back-patch as the previous commit was. Discussion: https://postgr.es/m/20220601163537.GA2331988@nathanxps13 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/dd1c8dd1015f4548d6c29de56e54eda317b39319 Modified Files -------------- contrib/amcheck/verify_nbtree.c | 2 +- src/backend/access/brin/brin.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Silence compiler warnings from some older compilers. @ 2022-06-01 21:22 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2022-06-01 21:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence compiler warnings from some older compilers. Since a117cebd6, some older gcc versions issue "variable may be used uninitialized in this function" complaints for brin_summarize_range. Silence that using the same coding pattern as in bt_index_check_internal; arguably, a117cebd6 had too narrow a view of which compilers might give trouble. Nathan Bossart and Tom Lane. Back-patch as the previous commit was. Discussion: https://postgr.es/m/20220601163537.GA2331988@nathanxps13 Branch ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/4e467261560f087e0c75452646695a4edbb09de7 Modified Files -------------- contrib/amcheck/verify_nbtree.c | 2 +- src/backend/access/brin/brin.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Silence compiler warnings from some older compilers. @ 2022-06-01 21:22 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2022-06-01 21:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence compiler warnings from some older compilers. Since a117cebd6, some older gcc versions issue "variable may be used uninitialized in this function" complaints for brin_summarize_range. Silence that using the same coding pattern as in bt_index_check_internal; arguably, a117cebd6 had too narrow a view of which compilers might give trouble. Nathan Bossart and Tom Lane. Back-patch as the previous commit was. Discussion: https://postgr.es/m/20220601163537.GA2331988@nathanxps13 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/60ca2e8418a14b531f684723d08639997afc0d6f Modified Files -------------- contrib/amcheck/verify_nbtree.c | 2 +- src/backend/access/brin/brin.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Silence compiler warnings from some older compilers. @ 2022-06-01 21:22 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2022-06-01 21:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence compiler warnings from some older compilers. Since a117cebd6, some older gcc versions issue "variable may be used uninitialized in this function" complaints for brin_summarize_range. Silence that using the same coding pattern as in bt_index_check_internal; arguably, a117cebd6 had too narrow a view of which compilers might give trouble. Nathan Bossart and Tom Lane. Back-patch as the previous commit was. Discussion: https://postgr.es/m/20220601163537.GA2331988@nathanxps13 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/dd672be38d39ade3f5bbfaf613e584dc5786ae6d Modified Files -------------- contrib/amcheck/verify_nbtree.c | 2 +- src/backend/access/brin/brin.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Silence compiler warnings from some older compilers. @ 2022-06-01 21:22 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2022-06-01 21:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence compiler warnings from some older compilers. Since a117cebd6, some older gcc versions issue "variable may be used uninitialized in this function" complaints for brin_summarize_range. Silence that using the same coding pattern as in bt_index_check_internal; arguably, a117cebd6 had too narrow a view of which compilers might give trouble. Nathan Bossart and Tom Lane. Back-patch as the previous commit was. Discussion: https://postgr.es/m/20220601163537.GA2331988@nathanxps13 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/37290f7f5a9acf9c88c5d65490b7ec24776ba332 Modified Files -------------- contrib/amcheck/verify_nbtree.c | 2 +- src/backend/access/brin/brin.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Silence compiler warnings from some older compilers. @ 2022-06-01 21:22 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2022-06-01 21:22 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Silence compiler warnings from some older compilers. Since a117cebd6, some older gcc versions issue "variable may be used uninitialized in this function" complaints for brin_summarize_range. Silence that using the same coding pattern as in bt_index_check_internal; arguably, a117cebd6 had too narrow a view of which compilers might give trouble. Nathan Bossart and Tom Lane. Back-patch as the previous commit was. Discussion: https://postgr.es/m/20220601163537.GA2331988@nathanxps13 Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c051180147760fbb56b38bad311b427e57ac8cab Modified Files -------------- contrib/amcheck/verify_nbtree.c | 2 +- src/backend/access/brin/brin.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2022-06-01 21:22 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2022-06-01 21:22 pgsql: Silence compiler warnings from some older compilers. Tom Lane <tgl@sss.pgh.pa.us> 2022-06-01 21:22 pgsql: Silence compiler warnings from some older compilers. Tom Lane <tgl@sss.pgh.pa.us> 2022-06-01 21:22 pgsql: Silence compiler warnings from some older compilers. Tom Lane <tgl@sss.pgh.pa.us> 2022-06-01 21:22 pgsql: Silence compiler warnings from some older compilers. Tom Lane <tgl@sss.pgh.pa.us> 2022-06-01 21:22 pgsql: Silence compiler warnings from some older compilers. Tom Lane <tgl@sss.pgh.pa.us> 2022-06-01 21:22 pgsql: Silence compiler warnings from some older compilers. Tom Lane <tgl@sss.pgh.pa.us>
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