Re: SQL/JSON path: collation for comparisons, minor typos in docs - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: SQL/JSON path: collation for comparisons, minor typos in docs
Date
Msg-id CAPpHfdsMP2RvdGdOFzHxd9s9+WoQ2YTv8yofD=OQGZUygn_gTw@mail.gmail.com
Whole thread Raw
In response to SQL/JSON path: collation for comparisons, minor typos in docs  (Markus Winand <markus.winand@winand.at>)
Responses Re: SQL/JSON path: collation for comparisons, minor typos in docs  (Alexander Korotkov <a.korotkov@postgrespro.ru>)
List pgsql-hackers
Hi!

On Wed, Aug 7, 2019 at 2:25 PM Markus Winand <markus.winand@winand.at> wrote:
> I was playing around with JSON path quite a bit and might have found one case where the current implementation
doesn’tfollow the standard. 
>
> The functionality in question are the comparison operators except ==. They use the database default collation rather
thenthe standard-mandated "Unicode codepoint collation” (SQL-2:2016 9.39 General Rule 12 c iii 2 D, last sentence in
firstparagraph). 

Thank you for pointing!  Nikita is about to write a patch fixing that.

> I also found two minor typos in the docs. Patch attached.

Pushed, thanks.

> -markus
> ps.: I’ve created 230 test cases. Besides the WIP topic .datetime(), the collation issue is the only one I found.
Excellentwork. Down to the SQLSTATEs. For sure the most complete and correct SQL/JSON path implementation I've seen. 

Thank you!

------
Alexander Korotkov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company



pgsql-hackers by date:

Previous
From: Sehrope Sarkuni
Date:
Subject: Re: [Proposal] Table-level Transparent Data Encryption (TDE) and KeyManagement Service (KMS)
Next
From: Michael Paquier
Date:
Subject: Regression test failure in regression test temp.sql