Re: pg_resetwal.c: duplicate '0' in hex character set for -l option validation

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: jinbinge <jinbinge(at)126(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: pg_resetwal.c: duplicate '0' in hex character set for -l option validation
Date: 2026-03-04 00:31:44
Message-ID: aad9cEM2LXCODKCx@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 02, 2026 at 11:38:30AM +0800, jinbinge wrote:
> After searching for "01234567890" and "01234567890ABCDEF" (excluding test files),
> no other occurrences were found.
> The attached v2 patch replaces non‑standard or redundant hexadecimal digit strings
> in C source files with the conventional "0123456789ABCDEF".

Sounds find to me. As this is purely cosmetic, I am adding it into my
next batch of cosmetic changes merged together.
--
Michael

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul Bunn 2026-03-04 00:36:09 [BUG + PATCH] DSA pagemap out-of-bounds in make_new_segment odd-sized path
Previous Message Michael Paquier 2026-03-04 00:21:14 Re: Fix incorrect assignment for nodeid in TransactionIdGetCommitTsData()