Re: Does the POSITION() function takes into account the COLLATION... or not ?!? - Mailing list pgsql-docs

From Pierre-Aurélien GEORGES
Subject Re: Does the POSITION() function takes into account the COLLATION... or not ?!?
Date
Msg-id ead8dcb5-e1c0-174f-c609-61843f9fa1de@univ-cotedazur.fr
Whole thread Raw
In response to Re: Does the POSITION() function takes into account the COLLATION... or not ?!?  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
List pgsql-docs
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.



pgsql-docs by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Does the POSITION() function takes into account the COLLATION... or not ?!?
Next
From: Peter Eisentraut
Date:
Subject: Re: Does the POSITION() function takes into account the COLLATION... or not ?!?