Rename enum labels of PG_Locale_Strategy

Michael Paquier <michael@paquier.xyz>

Commit: 23138284cde438f65f093156e76683d63b826fff
Author: Michael Paquier <michael@paquier.xyz>
Date: 2024-09-01T23:18:41Z
Releases: 18.0
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

Files

PathChange+/−
src/backend/regex/regc_pg_locale.c modified +70 −70

Discussion