Minor consistency improvement to the documentation on array functions.
authorNeil Conway
Wed, 13 Apr 2005 00:20:10 +0000 (00:20 +0000)
committerNeil Conway
Wed, 13 Apr 2005 00:20:10 +0000 (00:20 +0000)
doc/src/sgml/func.sgml

index f879664a9eeb763844d3bc599afd0e5b3de270e6..2df0068b0e90299cc0ad9298a4dca9130c9de086 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -6981,7 +6981,7 @@ SELECT NULLIF(value, '(none)') ...
     
         text
         returns a text representation of array's dimensions
-        array_dims(array[[1,2,3], [4,5,6]])
+        array_dims(ARRAY[[1,2,3], [4,5,6]])
         [1:2][1:3]
        
        
@@ -7017,7 +7017,7 @@ SELECT NULLIF(value, '(none)') ...
     
         text
         concatenates array elements using provided delimiter
-        array_to_string(array[1, 2, 3], '~^~')
+        array_to_string(ARRAY[1, 2, 3], '~^~')
         1~^~2~^~3
        
        
@@ -7029,7 +7029,7 @@ SELECT NULLIF(value, '(none)') ...
     
         text[]
         splits string into array elements using provided delimiter
-        string_to_array( 'xx~^~yy~^~zz', '~^~')
+        string_to_array('xx~^~yy~^~zz', '~^~')
         {xx,yy,zz}