pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Remove shadow variables linked to RedoRecPtr in xlog.c 3+ messages / 1 participants [nested] [flat]
* pgsql: Remove shadow variables linked to RedoRecPtr in xlog.c @ 2019-12-18 01:12 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2019-12-18 01:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove shadow variables linked to RedoRecPtr in xlog.c This changes the routines in charge of recycling WAL segments past the last redo LSN to not use anymore "RedoRecPtr" as a local variable, which is also available in the context of the session as a static declaration, replacing it with "lastredoptr". This confusion has been introduced by d9fadbf, so backpatch down to v11 like the other commit. Thanks to Tom Lane, Robert Haas, Alvaro Herrera, Mark Dilger and Kyotaro Horiguchi for the input provided. Author: Ranier Vilela Discussion: https://postgr.es/m/MN2PR18MB2927F7B5F690065E1194B258E35D0@MN2PR18MB2927.namprd18.prod.outlook.com Backpatch-through: 11 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/668365014d7b330fa828826ff94653d446971a86 Modified Files -------------- src/backend/access/transam/xlog.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Remove shadow variables linked to RedoRecPtr in xlog.c @ 2019-12-18 01:12 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2019-12-18 01:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove shadow variables linked to RedoRecPtr in xlog.c This changes the routines in charge of recycling WAL segments past the last redo LSN to not use anymore "RedoRecPtr" as a local variable, which is also available in the context of the session as a static declaration, replacing it with "lastredoptr". This confusion has been introduced by d9fadbf, so backpatch down to v11 like the other commit. Thanks to Tom Lane, Robert Haas, Alvaro Herrera, Mark Dilger and Kyotaro Horiguchi for the input provided. Author: Ranier Vilela Discussion: https://postgr.es/m/MN2PR18MB2927F7B5F690065E1194B258E35D0@MN2PR18MB2927.namprd18.prod.outlook.com Backpatch-through: 11 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/70116493a8e07713f7e1270646ca1147898b4f6d Modified Files -------------- src/backend/access/transam/xlog.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Remove shadow variables linked to RedoRecPtr in xlog.c @ 2019-12-18 01:12 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 3+ messages in thread From: Michael Paquier @ 2019-12-18 01:12 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Remove shadow variables linked to RedoRecPtr in xlog.c This changes the routines in charge of recycling WAL segments past the last redo LSN to not use anymore "RedoRecPtr" as a local variable, which is also available in the context of the session as a static declaration, replacing it with "lastredoptr". This confusion has been introduced by d9fadbf, so backpatch down to v11 like the other commit. Thanks to Tom Lane, Robert Haas, Alvaro Herrera, Mark Dilger and Kyotaro Horiguchi for the input provided. Author: Ranier Vilela Discussion: https://postgr.es/m/MN2PR18MB2927F7B5F690065E1194B258E35D0@MN2PR18MB2927.namprd18.prod.outlook.com Backpatch-through: 11 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/35c01529b8c9d8f168379639b4f37227d768d313 Modified Files -------------- src/backend/access/transam/xlog.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-12-18 01:12 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-12-18 01:12 pgsql: Remove shadow variables linked to RedoRecPtr in xlog.c Michael Paquier <michael@paquier.xyz> 2019-12-18 01:12 pgsql: Remove shadow variables linked to RedoRecPtr in xlog.c Michael Paquier <michael@paquier.xyz> 2019-12-18 01:12 pgsql: Remove shadow variables linked to RedoRecPtr in xlog.c Michael Paquier <michael@paquier.xyz>
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