pgsql: Remove global variable "LastRec" in xlog.c - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Remove global variable "LastRec" in xlog.c
Date
Msg-id E1mnAKa-0002P6-Rw@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f975fc3a3542005ed0dd689bdb5bd9ed4e1f4d52

Modified Files
--------------
src/backend/access/transam/xlog.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix headerscheck failure in replication/worker_internal.h
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Fix incorrect format placeholders