Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file
Date
Msg-id 20221004.154130.81110075358497671.horikyota.ntt@gmail.com
Whole thread Raw
In response to Re: Use XLogFromFileName() in pg_resetwal to parse position from WAL file  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Responses Assorted fixes related to WAL files (was: Use XLogFromFileName() in pg_resetwal to parse position from WAL file)
List pgsql-hackers
At Tue, 04 Oct 2022 15:23:48 +0900 (JST), Kyotaro Horiguchi <horikyota.ntt@gmail.com> wrote in 
> This is not directly related to this patch, pg_resetwal.c has the
> following line..
> 
> > static uint32 minXlogTli = 0;

I have found other three instances of this in xlog.c and
pg_receivewal.c.  Do they worth fixing?

(pg_upgarade.c has "uint32 tli/logid/segno but I'm not sure they need
 to be "fixed". At least the segno is not a XLogSegNo.)

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Convert macros to static inline functions
Next
From: Michael Paquier
Date:
Subject: Re: GUC tables - use designated initializers