pgsql: Rename enum labels of PG_Locale_Strategy - Mailing list pgsql-committers

From Michael Paquier
Subject pgsql: Rename enum labels of PG_Locale_Strategy
Date
Msg-id E1sktqs-000Bk0-Qp@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: pgsql: Implement pg_wal_replay_wait() stored procedure
Next
From: Peter Eisentraut
Date:
Subject: pgsql: More use of getpwuid_r() directly