Re: Unnecessary global variable declared in xlog.c

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Amul Sul <sulamul(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Unnecessary global variable declared in xlog.c
Date: 2021-11-16 06:12:38
Message-ID: YZNL1tRJghTKqOGB@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2021-11-16 06:31:18 Re: Skipping logical replication transactions on subscriber side
Previous Message Masahiko Sawada 2021-11-16 05:53:18 Re: parallel vacuum comments