Release note compatibility item
authorAndrew Dunstan
Sat, 18 Jul 2015 01:08:03 +0000 (21:08 -0400)
committerAndrew Dunstan
Sat, 18 Jul 2015 01:08:03 +0000 (21:08 -0400)
Note that json and jsonb extraction operators no longer consider a
negative subscript to be invalid.

doc/src/sgml/release-9.5.sgml

index a1010b29b87cea4301221ae200c0b63efb246d88..dff1ba9ae0bbff5117a2285e52b5b7739cbbfd5f 100644 (file)
      
     
 
+    
+     
+      Allow json and jsonb extraction operators to
+      accept negative subscripts, which count from the end of JSON
+      arrays.  Historically, these operators yielded NULL
+      in the event of a negative subscript, because negative
+      subscripts were considered invalid.  (Peter Geoghegan, Andrew
+      Dunstan)
+     
+    
+