Re: Does the POSITION() function takes into account the COLLATION... or not ?!?

Поиск
Список
Период
Сортировка
От Pierre-Aurélien GEORGES
Тема Re: Does the POSITION() function takes into account the COLLATION... or not ?!?
Дата
Msg-id ead8dcb5-e1c0-174f-c609-61843f9fa1de@univ-cotedazur.fr
обсуждение исходный текст
Ответ на Re: Does the POSITION() function takes into account the COLLATION... or not ?!?  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Does the POSITION() function takes into account the COLLATION... or not ?!?
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Does the POSITION() function takes into account the COLLATION... or not ?!?