Re: GUC names in messages - Mailing list pgsql-hackers

From Tom Lane
Subject Re: GUC names in messages
Date
Msg-id 3740026.1701050836@sss.pgh.pa.us
Whole thread Raw
In response to Re: GUC names in messages  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> Is there a reason why we don't just use islower() or is that just to
> get something entirely local independent?

islower() and related functions are not to be trusted for this
purpose.  They will certainly give locale-dependent results,
and they might give entirely wrong ones if there's any inconsistency
between the database encoding and what libc thinks the locale is.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: GUC names in messages
Next
From: Peter Smith
Date:
Subject: Re: GUC names in messages