From 5618ece82b49c06c6ee9509f07760b8e5b283973 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 21 Jul 2008 04:47:00 +0000 Subject: Code review for array_fill patch: fix inadequate check for array size overflow and bogus documentation (dimension arrays are int[] not anyarray). Also the errhint() messages seem to be really errdetail(), since there is nothing heuristic about them. Some other trivial cosmetic improvements. --- doc/src/sgml/func.sgml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index fb77ae43ea4..15162ed5ed3 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -1,4 +1,4 @@ - + Functions and Operators @@ -9186,17 +9186,16 @@ SELECT NULLIF(value, '(none)') ... - Array Functions and Operators shows the operators - available for array types. + available for array types. - <type>array</type> Operators + Array Operators @@ -9326,7 +9325,7 @@ SELECT NULLIF(value, '(none)') ...
- <type>array</type> Functions + Array Functions @@ -9374,13 +9373,13 @@ SELECT NULLIF(value, '(none)') ... - array_fill(anyelement, anyarray, - , anyarray) + array_fill(anyelement, int[], + , int[]) anyarray - returns an array initialized with supplied value, - dimensions, and lower bounds + returns an array initialized with supplied value and + dimensions, optionally with lower bounds other than 1 array_fill(7, ARRAY[3], ARRAY[2]) [2:4]={7,7,7} -- cgit v1.2.3