Re: Improve readability by using designated initializers when possible

From: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: Japin Li <japinli(at)hotmail(dot)com>, jian he <jian(dot)universality(at)gmail(dot)com>, Jeff Davis <pgsql(at)j-davis(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Improve readability by using designated initializers when possible
Date: 2024-02-27 11:55:34
Message-ID: CAGECzQQ182jzQ=Vj+9UrhUCFAH7BUwCK=ecTQ6xfESPJaQkDKg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 27 Feb 2024 at 12:52, Jelte Fennema-Nio <postgres(at)jeltef(dot)nl> wrote:
> Attached is an updated patchset to also convert pg_enc2icu_tbl and
> pg_enc2gettext_tbl. I converted pg_enc2gettext_tbl in a separate
> commit, because it actually requires some codechanges too.

Another small update to also make all arrays changed by this patch
have a trailing comma (to avoid future diff noise).

Attachment Content-Type Size
v4-0002-Use-designated-initializer-syntax-to-improve-read.patch text/x-patch 34.3 KB
v4-0003-Simplify-pg_enc2gettext_tbl.patch text/x-patch 4.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2024-02-27 11:59:46 Re: Synchronizing slots from primary to standby
Previous Message Pavel Stehule 2024-02-27 11:53:43 Re: Schema variables - new implementation for Postgres 15