Guard against uninitialized default locale.

No known problem today, but defend against issues like dbf217c1c7 in
the future.

Discussion: 
https://postgr.es/m/[email protected]
Reviewed-by: Ayush Tiwari <[email protected]>
Backpatch-through: 17

Branch
------
REL_17_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1d76927469d35f8dd6d90509618fda3e6bc3b7d6

Modified Files
--------------
src/backend/utils/adt/pg_locale.c | 12 ++++++++++++
1 file changed, 12 insertions(+)

Reply via email to