mirror of
https://github.com/postgres/postgres.git
synced 2025-07-24 14:22:24 +03: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:
@ -162,6 +162,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>
|
||||
|
Reference in New Issue
Block a user