mirror of
https://github.com/postgres/postgres.git
synced 2026-06-06 23:32:13 -04: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
1 changed files with 11 additions and 0 deletions
|
|
@ -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 a new issue