1
0
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:
Andrew Dunstan
2015-07-17 21:08:03 -04:00
parent e02d44b8a7
commit 4738650485

View File

@ -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>