pgsql: Rename enum labels of PG_Locale_Strategy

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Rename enum labels of PG_Locale_Strategy
Date: 2024-09-01 23:19:23
Message-ID: E1sktqs-000Bk0-Qp@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Rename enum labels of PG_Locale_Strategy

PG_REGEX_BUILTIN was added in f69319f2f1fb but it did not follow the
same pattern as the previous labels, i.e. PG_LOCALE_*. In addition to
this, the two libc strategies did not include in the name that they were
related to this library.

The enum labels are renamed as PG_STRATEGY_type[_subtype] to make the
code clearer, in accordance to the library and the functions they rely
on.

Author: Andreas Karlsson
Discussion: https://postgr.es/m/6f81200f-68fd-411e-97a1-d1f291d2e222@proxel.se

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/23138284cde438f65f093156e76683d63b826fff

Modified Files
--------------
src/backend/regex/regc_pg_locale.c | 140 ++++++++++++++++++-------------------
1 file changed, 70 insertions(+), 70 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2024-09-01 23:27:50 Re: pgsql: Implement pg_wal_replay_wait() stored procedure
Previous Message Alexander Korotkov 2024-09-01 19:35:27 Re: pgsql: Implement pg_wal_replay_wait() stored procedure