Re: Excessive LOG messages from replication slot sync worker - Mailing list pgsql-hackers

From Japin Li
Subject Re: Excessive LOG messages from replication slot sync worker
Date
Msg-id ME0P300MB0445DA158D9E1C7F7788F59BB62AA@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Whole thread Raw
In response to Re: Excessive LOG messages from replication slot sync worker  (Fujii Masao <masao.fujii@gmail.com>)
List pgsql-hackers
On Tue, Aug 12, 2025 at 10:02:32PM +0900, Fujii Masao wrote:
> On Tue, Aug 12, 2025 at 8:06 PM Japin Li <japinli@hotmail.com> wrote:
> > OTOH, I also update reorder buffer spill file path.
> >
> > $ git grep -E 'xid-.*-lsn.*spill'
> > src/backend/replication/logical/reorderbuffer.c: snprintf(path, MAXPGPATH, "%s/%s/xid-%u-lsn-%X-%X.spill",
> 
> Should we also update LOGICAL_REWRITE_FORMAT to use %08X?
> 
> That said, the number of places to change is growing, and we're drifting
> away from the original issue.... So I started thinking it might be better
> to simply applying Shveta's patch to revert the incorrect format change
> to fix the problem, and then discussing LSN-based filename standardization
> in a separate thread.
> 

Agreed.  See the new thread [1] for a discussion on this.

[1]
https://www.postgresql.org/message-id/ME0P300MB0445795E3FF4CA5A1143164FB62AA@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM

-- 
Best regards,
Japin Li
ChengDu WenWu Information Technology Co., LTD.



pgsql-hackers by date:

Previous
From: Japin Li
Date:
Subject: Standardize LSN-based filename
Next
From: Richard Guo
Date:
Subject: Re: Pathify RHS unique-ification for semijoin planning