Release note compatibility item
authorAndrew Dunstan
Sat, 18 Jul 2015 01:08:03 +0000 (21:08 -0400)
committerAndrew Dunstan
Sat, 18 Jul 2015 01:14:14 +0000 (21:14 -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 817b973546a0d70a2880fac9747fdca717e9a3d5..0b12420aead07616322dd53e9524206dfa2dfa4f 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)
+     
+    
+