Commit 47386504 authored by Andrew Dunstan's avatar Andrew Dunstan

Release note compatibility item

Note that json and jsonb extraction operators no longer consider a
negative subscript to be invalid.
parent e02d44b8
...@@ -162,6 +162,17 @@ ...@@ -162,6 +162,17 @@
</para> </para>
</listitem> </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> </itemizedlist>
</sect2> </sect2>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment