ok, let's take it forwards, then :-)
Can someone provide some examples where a supported deterministic
collation is having an impact on the result of a call to function
POSITION() ?
(as I said in my message, examples would be greatly appreciated)
Le 16/02/2022 à 11:56, Peter Eisentraut a écrit :
> On 15.02.22 17:17, PG Doc comments form wrote:
>> Does the POSITION() function pretends taking into account the
>> COLLATION ??
>> or not ??
>>
>> - If not, then why the hell is there this error message about
>> nondeterministic collations while the POSITION() doesn't care at all
>> about
>> the COLLATION...
>> - If yes, then the first 6 lines of SQL above are returning the wrong
>> value... (are there any specific technical limitations here ?)
>
> I think you have that backwards. Your examples would only succeed if
> POSITION() supported nondeterministic collations, but it doesn't.