Re: ts_locale.c: why no t_isalnum() test? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: ts_locale.c: why no t_isalnum() test?
Date
Msg-id 2933409.1666219172@sss.pgh.pa.us
Whole thread Raw
In response to Re: ts_locale.c: why no t_isalnum() test?  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-hackers
Corey Huinker <corey.huinker@gmail.com> writes:
> I see this is already committed, but I'm curious, why do t_isalpha and
> t_isdigit have the pair of /* TODO */ comments? This unfinished business
> isn't explained anywhere in the file.

We really ought to be consulting the locale/collation passed to
the SQL-level operator or function that's calling these things,
instead of hard-wiring the database default.  Passing that down
would take a large and boring patch, but somebody ought to tackle
it someday.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Corey Huinker
Date:
Subject: Re: ts_locale.c: why no t_isalnum() test?
Next
From: Corey Huinker
Date:
Subject: Re: refactor ownercheck and aclcheck functions