diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-12-18 10:11:13 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-12-18 10:11:13 +0900 |
commit | 70116493a8e07713f7e1270646ca1147898b4f6d (patch) | |
tree | 1a461ed0d1788887afe89ce89fe8f8c92298d384 /src/backend/jit/llvm/llvmjit_expr.c | |
parent | 2acab054b3ff8e46707727980ce3fa1a1897381f (diff) | |
download | postgresql-70116493a8e07713f7e1270646ca1147898b4f6d.tar.gz postgresql-70116493a8e07713f7e1270646ca1147898b4f6d.zip |
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
Diffstat (limited to 'src/backend/jit/llvm/llvmjit_expr.c')
0 files changed, 0 insertions, 0 deletions