Re: check_strxfrm_bug() - Mailing list pgsql-hackers

From Tom Lane
Subject Re: check_strxfrm_bug()
Date
Msg-id 2978873.1681916511@sss.pgh.pa.us
Whole thread Raw
In response to Re: check_strxfrm_bug()  (Joe Conway <mail@joeconway.com>)
List pgsql-hackers
Joe Conway <mail@joeconway.com> writes:
> I have wondered a few times, given the known issues with strxfrm, how is 
> the use in selfuncs.c still ok. Has anyone taken a hard look at that?

On the one hand, we only need approximately-correct results in that
code.  On the other, the result is fed to convert_string_to_scalar(),
which has a rather naive idea that it's dealing with ASCII text.
I've seen at least some strxfrm output that isn't even vaguely
textual-looking.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Tab completion for GRANT MAINTAIN
Next
From: Melanie Plageman
Date:
Subject: Re: Wrong results from Parallel Hash Full Join