RE: [Proposal] Level4 Warnings show many shadow vars

Ranier VF <ranier_gyn@hotmail.com>

From: Ranier Vilela <ranier_gyn@hotmail.com>
To: "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2019-12-07T23:42:38Z
Lists: pgsql-hackers

Attachments

This is the first part of the variable shadow fixes.
Basically it consists of renaming the variables in collision with the global ones, with the minimum change in the semantics.

make check pass all the tests.

regards,
Ranier Vilela

Commits

  1. Remove shadow variables linked to RedoRecPtr in xlog.c

  2. Fix calculation for WAL segment recycling and removal