Re: Standardize LSN-based filename - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Standardize LSN-based filename
Date
Msg-id CAHGQGwGWBtxoo_vdn1dSVWfWxHo+ujSWL8=4NzapfndYsFys7Q@mail.gmail.com
Whole thread Raw
In response to Standardize LSN-based filename  (Japin Li <japinli@hotmail.com>)
Responses Re: Standardize LSN-based filename
List pgsql-hackers
On Wed, Aug 13, 2025 at 9:56 AM Japin Li <japinli@hotmail.com> wrote:
>
> In commit 2633dae2e, I standardized the LSN formatting for log messages using
> zero-padding.  However, I mistakenly changed the snapshot file name[1].
>
> I'd like to standardize the LSN-based filename.  What's your feedback on this?

Thanks for starting a new thread on this topic!

I understand it's worth standardizing LSN formatting in log messages
so users can read them consistently across tools and easily compare
values. On the other hand, is there a strong reason to also standardize
file names with zero-padding? Is it just for consistency, or is it to make
file names more sortable?

Regards,

--
Fujii Masao



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Performance issue on temporary relations
Next
From: Álvaro Herrera
Date:
Subject: Re: Enhance Makefiles to rebuild objects on map file changes