Re: Standardize LSN-based filename

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Japin Li <japinli(at)hotmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Standardize LSN-based filename
Date: 2025-08-19 15:37:27
Message-ID: CAHGQGwGWBtxoo_vdn1dSVWfWxHo+ujSWL8=4NzapfndYsFys7Q@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Aug 13, 2025 at 9:56 AM Japin Li <japinli(at)hotmail(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Álvaro Herrera 2025-08-19 15:43:39 Re: Enhance Makefiles to rebuild objects on map file changes
Previous Message Tom Lane 2025-08-19 15:35:51 Re: Performance issue on temporary relations