trivial grammar refactor

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: trivial grammar refactor
Date: 2025-07-23 15:38:34
Message-ID: 202507231538.ir7pjzoow6oe@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello

I noticed some duplicative coding while hacking on REPACK[1]. We can
save a few lines now with a trivial change to the rules for CHECKPOINT
and REINDEX, and allow to save a few extra lines in that patch.

Any objections to this?

[1] https://commitfest.postgresql.org/patch/5117/

--
Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/

Attachment Content-Type Size
0001-Refactor-grammar-productions-to-create-opt_utility_o.patch text/x-diff 3.6 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2025-07-23 15:40:45 Re: More protocol.h replacements this time into walsender.c
Previous Message Robert Haas 2025-07-23 15:38:07 Re: Adding wait events statistics