pgsql: Guard against uninitialized default locale.

From: Jeff Davis <jdavis(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Guard against uninitialized default locale.
Date: 2026-06-08 20:13:04
Message-ID: E1wWgLI-001e4K-2f@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Guard against uninitialized default locale.

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

Discussion: https://postgr.es/m/d080287d8d2d14c246c86be2e9eb611fb6b27b11.camel@j-davis.com
Reviewed-by: Ayush Tiwari <ayushtiwari(dot)slg01(at)gmail(dot)com>
Backpatch-through: 17

Branch
------
master

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

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

Browse pgsql-committers by date

  From Date Subject
Next Message Jeff Davis 2026-06-08 20:13:11 pgsql: Guard against uninitialized default locale.
Previous Message Andres Freund 2026-06-08 19:27:22 pgsql: ci: Improve ccache handling