From ea43f1545384adbd4ffffd6d70947ea65b2e0353 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 22 Jun 2009 04:37:18 +0000 Subject: [PATCH] Revert dubious message wording change. --- src/backend/utils/adt/arrayfuncs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/utils/adt/arrayfuncs.c b/src/backend/utils/adt/arrayfuncs.c index 86a6f372b3..fb96541bdf 100644 --- a/src/backend/utils/adt/arrayfuncs.c +++ b/src/backend/utils/adt/arrayfuncs.c @@ -4396,7 +4396,7 @@ array_fill_with_lower_bounds(PG_FUNCTION_ARGS) if (PG_ARGISNULL(1) || PG_ARGISNULL(2)) ereport(ERROR, (errcode(ERRCODE_NULL_VALUE_NOT_ALLOWED), - errmsg("dimension array or low bound array must not be null"))); + errmsg("dimension array or low bound array cannot be NULL"))); dims = PG_GETARG_ARRAYTYPE_P(1); lbs = PG_GETARG_ARRAYTYPE_P(2); @@ -4436,7 +4436,7 @@ array_fill(PG_FUNCTION_ARGS) if (PG_ARGISNULL(1)) ereport(ERROR, (errcode(ERRCODE_NULL_VALUE_NOT_ALLOWED), - errmsg("dimension array or low bound array must not be null"))); + errmsg("dimension array or low bound array cannot be NULL"))); dims = PG_GETARG_ARRAYTYPE_P(1); -- 2.39.5