Re: Unnecessary global variable declared in xlog.c

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Amul Sul <sulamul@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2021-11-17T02:06:04Z
Lists: pgsql-hackers
On Tue, Nov 16, 2021 at 02:08:54AM -0500, Tom Lane wrote:
> I think LastRec was originally referenced by multiple functions
> in xlog.c.  But it does look like it could be a local now.

Thanks for double-checking, applied this one as of f975fc3.
--
Michael

Commits

  1. Remove global variable "LastRec" in xlog.c