postgres.git / summary / log / commit / refs

commit    0beef5af3a4821155251d8d445b9ba1296381645
Author:   Andrew Dunstan <andrew@dunslane.net>
Date:     Sat Jul 18 01:08:03 2015 +0000
First released in: 9.6.0, 9.5.0

    Release note compatibility item
    
    Note that json and jsonb extraction operators no longer consider a
    negative subscript to be invalid.


doc/src/sgml/release-9.5.sgml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/src/sgml/release-9.5.sgml b/doc/src/sgml/release-9.5.sgml index a1010b29b87..dff1ba9ae0b 100644 --- a/doc/src/sgml/release-9.5.sgml +++ b/doc/src/sgml/release-9.5.sgml @@ -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> [parent: 89ddd29bbd70]