postgres.git / summary / log / commit / refs

commit    473865048517c7808ddcf2299d054d8fe30fc6d5
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 817b973546a..0b12420aead 100644 --- a/doc/src/sgml/release-9.5.sgml +++ b/doc/src/sgml/release-9.5.sgml @@ -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> [parent: e02d44b8a748]