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
Ответ на
Список
Дерево обсуждения
Does the POSITION() function takes into account the COLLATION... or not ?!? PG Doc comments form <noreply@postgresql.org>
Re: Does the POSITION() function takes into account the COLLATION... or not ?!? Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Does the POSITION() function takes into account the COLLATION... or not ?!? Pierre-Aurélien GEORGES <Pierre-Aurelien.GEORGES@univ-cotedazur.fr>
Re: Does the POSITION() function takes into account the COLLATION... or not ?!? Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: Does the POSITION() function takes into account the COLLATION... or not ?!? "David G. Johnston" <david.g.johnston@gmail.com>
Re: Does the POSITION() function takes into account the COLLATION... or not ?!? Tom Lane <tgl@sss.pgh.pa.us>
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
Дата:
От: Peter Eisentraut
Дата: