summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorTom Lane2008-07-21 04:47:00 +0000
committerTom Lane2008-07-21 04:47:00 +0000
commit5618ece82b49c06c6ee9509f07760b8e5b283973 (patch)
treea1808232a046fba0209b8dbd3765ee23f11a15e5 /src/test
parent673a30fbb2b665aac9a5f660986be73aab8fc59a (diff)
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.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/regress/expected/arrays.out2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/regress/expected/arrays.out b/src/test/regress/expected/arrays.out
index 7b7a01694ac..bcb451e8080 100644
--- a/src/test/regress/expected/arrays.out
+++ b/src/test/regress/expected/arrays.out
@@ -988,6 +988,6 @@ select array_fill(1, array[2,2], null);
ERROR: dimension array or low bound array cannot be NULL
select array_fill(1, array[3,3], array[1,1,1]);
ERROR: wrong number of array_subscripts
-HINT: Low bound array has different size than dimensions array.
+DETAIL: Low bound array has different size than dimensions array.
select array_fill(1, array[1,2,null]);
ERROR: dimension values cannot be null