pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix uninitialized-variable bug. 6+ messages / 1 participants [nested] [flat]
* pgsql: Fix uninitialized-variable bug. @ 2011-10-04 21:08 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2011-10-04 21:08 UTC (permalink / raw) To: pgsql-committers Fix uninitialized-variable bug. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/fa56a0c3e01c175695e932e6cdc2c6915df5adc6 Modified Files -------------- src/backend/access/transam/slru.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix uninitialized-variable bug. @ 2015-10-09 14:12 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-10-09 14:12 UTC (permalink / raw) To: pgsql-committers Fix uninitialized-variable bug. For some reason, neither of the compilers I usually use noticed the uninitialized-variable problem I introduced in commit 7e2a18a9161fee7e. That's hardly a good enough excuse though. Committing with brown paper bag on head. In addition to putting the operations in the right order, move the declaration of "now" inside the loop; there's no need for it to be outside, and that does wake up older gcc enough to notice any similar future problem. Back-patch to 9.4; earlier versions lack the time-to-SIGKILL stanza so there's no bug. Branch ------ REL9_5_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/e50431aa22e3b894ac107affd358052c20a899f7 Modified Files -------------- src/backend/postmaster/postmaster.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix uninitialized-variable bug. @ 2015-10-09 14:12 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-10-09 14:12 UTC (permalink / raw) To: pgsql-committers Fix uninitialized-variable bug. For some reason, neither of the compilers I usually use noticed the uninitialized-variable problem I introduced in commit 7e2a18a9161fee7e. That's hardly a good enough excuse though. Committing with brown paper bag on head. In addition to putting the operations in the right order, move the declaration of "now" inside the loop; there's no need for it to be outside, and that does wake up older gcc enough to notice any similar future problem. Back-patch to 9.4; earlier versions lack the time-to-SIGKILL stanza so there's no bug. Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/15e9457bbb3e6ba2485f88252e2f522c069f26c5 Modified Files -------------- src/backend/postmaster/postmaster.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix uninitialized-variable bug. @ 2015-10-09 14:12 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2015-10-09 14:12 UTC (permalink / raw) To: pgsql-committers Fix uninitialized-variable bug. For some reason, neither of the compilers I usually use noticed the uninitialized-variable problem I introduced in commit 7e2a18a9161fee7e. That's hardly a good enough excuse though. Committing with brown paper bag on head. In addition to putting the operations in the right order, move the declaration of "now" inside the loop; there's no need for it to be outside, and that does wake up older gcc enough to notice any similar future problem. Back-patch to 9.4; earlier versions lack the time-to-SIGKILL stanza so there's no bug. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/94f5246ce1cac2b3fb976bed5792f39e01a28d08 Modified Files -------------- src/backend/postmaster/postmaster.c | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix uninitialized-variable bug. @ 2017-09-08 23:04 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2017-09-08 23:04 UTC (permalink / raw) To: pgsql-committers Fix uninitialized-variable bug. map_partition_varattnos() failed to set its found_whole_row output parameter if the given expression list was NIL. This seems to be a pre-existing bug that chanced to be exposed by commit 6f6b99d13. It might be unreachable in v10, but I have little faith in that proposition, so back-patch. Per buildfarm. Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1377b40965b257e228ae8faf45c6ce145ce357e5 Modified Files -------------- src/backend/catalog/partition.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
* pgsql: Fix uninitialized-variable bug. @ 2017-09-08 23:04 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 6+ messages in thread From: Tom Lane @ 2017-09-08 23:04 UTC (permalink / raw) To: pgsql-committers Fix uninitialized-variable bug. map_partition_varattnos() failed to set its found_whole_row output parameter if the given expression list was NIL. This seems to be a pre-existing bug that chanced to be exposed by commit 6f6b99d13. It might be unreachable in v10, but I have little faith in that proposition, so back-patch. Per buildfarm. Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/e56dd7cf5078d9651d715a72cd802a3aa346c63a Modified Files -------------- src/backend/catalog/partition.c | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers ^ permalink raw reply [nested|flat] 6+ messages in thread
end of thread, other threads:[~2017-09-08 23:04 UTC | newest] Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2011-10-04 21:08 pgsql: Fix uninitialized-variable bug. Tom Lane <tgl@sss.pgh.pa.us> 2015-10-09 14:12 pgsql: Fix uninitialized-variable bug. Tom Lane <tgl@sss.pgh.pa.us> 2015-10-09 14:12 pgsql: Fix uninitialized-variable bug. Tom Lane <tgl@sss.pgh.pa.us> 2015-10-09 14:12 pgsql: Fix uninitialized-variable bug. Tom Lane <tgl@sss.pgh.pa.us> 2017-09-08 23:04 pgsql: Fix uninitialized-variable bug. Tom Lane <tgl@sss.pgh.pa.us> 2017-09-08 23:04 pgsql: Fix uninitialized-variable bug. 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