Remove global variable "LastRec" in xlog.c
authorMichael Paquier <[email protected]>
Wed, 17 Nov 2021 02:04:18 +0000 (11:04 +0900)
committerMichael Paquier <[email protected]>
Wed, 17 Nov 2021 02:04:18 +0000 (11:04 +0900)
commitf975fc3a3542005ed0dd689bdb5bd9ed4e1f4d52
treec20dae47146cd48cf7ee92585df3e20b0bd005a2
parentad26ee28250c4cd357a7420161a2be321c3dd536
Remove global variable "LastRec" in xlog.c

This variable is used only by StartupXLOG() now, so let's make it local
to simplify the code.

Author: Amul Sul
Reviewed-by: Tom Lane, Michael Paquier
Discussion: https://postgr.es/m/CAAJ_b96Qd023itERBRN9Z7P2saNDT3CYvGuMO8RXwndVNN6z7g@mail.gmail.com
src/backend/access/transam/xlog.c