On 21.11.25 16:35, Tom Lane wrote:
* In 0003, we can't be very sure what "isblank((unsigned char) c)"
will do with non-ASCII input data, except that it could very
easily do insane things with fragments of a multibyte character.
I recommend keeping pg_isblank but redefining it along the lines of

        bool
        pg_isblank(unsigned char c)
        {
            return (!IS_HIGHBIT_SET(c) && isblank(c));
        }

to ensure the previous treatment of non-ASCII data.
(It could be made static in hba.c, perhaps)

Ok, done that way.



Reply via email to