Re: Unnecessary global variable declared in xlog.c - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Unnecessary global variable declared in xlog.c
Date
Msg-id YZNL1tRJghTKqOGB@paquier.xyz
Whole thread Raw
In response to Unnecessary global variable declared in xlog.c  (Amul Sul <sulamul@gmail.com>)
Responses Re: Unnecessary global variable declared in xlog.c
List pgsql-hackers
On Tue, Nov 16, 2021 at 11:17:27AM +0530, Amul Sul wrote:
> The attached patch moves the "LastRec" variable declaration inside
> StartupXLOG() where it is supposed to be.

Yes, reading through the code, your suggestion makes sense.  I'll
double-check and apply if there are no objections.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Masahiko Sawada
Date:
Subject: Re: parallel vacuum comments
Next
From: Masahiko Sawada
Date:
Subject: Re: Skipping logical replication transactions on subscriber side