mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-06 14:56:57 +02:00
Release note compatibility item
Note that json and jsonb extraction operators no longer consider a negative subscript to be invalid.
This commit is contained in:
parent
89ddd29bbd
commit
0beef5af3a
@ -141,6 +141,17 @@
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>
|
||||
Allow <type>json</> and <type>jsonb</> extraction operators to
|
||||
accept negative subscripts, which count from the end of JSON
|
||||
arrays. Historically, these operators yielded <literal>NULL</>
|
||||
in the event of a negative subscript, because negative
|
||||
subscripts were considered invalid. (Peter Geoghegan, Andrew
|
||||
Dunstan)
|
||||
</para>
|
||||
</listitem>
|
||||
|
||||
</itemizedlist>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user