pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: In log_newpage_range(), heed forkNum and page_std arguments. 2+ messages / 1 participants [nested] [flat]
* pgsql: In log_newpage_range(), heed forkNum and page_std arguments. @ 2020-03-21 16:45 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 2+ messages in thread From: Noah Misch @ 2020-03-21 16:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org In log_newpage_range(), heed forkNum and page_std arguments. The function assumed forkNum=MAIN_FORKNUM and page_std=true, ignoring the actual arguments. Existing callers passed exactly those values, so there's no live bug. Back-patch to v12, where the function first appeared, because another fix needs this. Discussion: https://postgr.es/m/20191118045434.GA1173436@rfd.leadboat.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d3e572855be1e15c7e0a6adc8db52b9fd4f71be0 Modified Files -------------- src/backend/access/transam/xloginsert.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: In log_newpage_range(), heed forkNum and page_std arguments. @ 2020-03-21 16:45 Noah Misch <noah@leadboat.com> 0 siblings, 0 replies; 2+ messages in thread From: Noah Misch @ 2020-03-21 16:45 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org In log_newpage_range(), heed forkNum and page_std arguments. The function assumed forkNum=MAIN_FORKNUM and page_std=true, ignoring the actual arguments. Existing callers passed exactly those values, so there's no live bug. Back-patch to v12, where the function first appeared, because another fix needs this. Discussion: https://postgr.es/m/20191118045434.GA1173436@rfd.leadboat.com Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/a5abec521c5d40fefbbb42af093fa9fd508b2614 Modified Files -------------- src/backend/access/transam/xloginsert.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2020-03-21 16:45 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2020-03-21 16:45 pgsql: In log_newpage_range(), heed forkNum and page_std arguments. Noah Misch <noah@leadboat.com> 2020-03-21 16:45 pgsql: In log_newpage_range(), heed forkNum and page_std arguments. Noah Misch <noah@leadboat.com>
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