]> git.ipfire.org Git - thirdparty/postgresql.git/commit
In log_newpage_range(), heed forkNum and page_std arguments.
authorNoah Misch <noah@leadboat.com>
Sat, 21 Mar 2020 16:38:26 +0000 (09:38 -0700)
committerNoah Misch <noah@leadboat.com>
Sat, 21 Mar 2020 16:38:30 +0000 (09:38 -0700)
commita5abec521c5d40fefbbb42af093fa9fd508b2614
tree35d8fe6f43ea3c9d7489062474c26ba599973c6b
parent88b3a6cd262344f5de64eab31804a0f39a7c6337
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
src/backend/access/transam/xloginsert.c