Skip to content

Commit 1c8f03d

Browse files
committed
Revert dubious message wording change.
1 parent e8ec0b1 commit 1c8f03d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/utils/adt/arrayfuncs.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.159 2009/06/21 20:15:32 petere Exp $
11+
* $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.160 2009/06/22 04:37:18 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -4396,7 +4396,7 @@ array_fill_with_lower_bounds(PG_FUNCTION_ARGS)
43964396
if (PG_ARGISNULL(1) || PG_ARGISNULL(2))
43974397
ereport(ERROR,
43984398
(errcode(ERRCODE_NULL_VALUE_NOT_ALLOWED),
4399-
errmsg("dimension array or low bound array must not be null")));
4399+
errmsg("dimension array or low bound array cannot be NULL")));
44004400

44014401
dims = PG_GETARG_ARRAYTYPE_P(1);
44024402
lbs = PG_GETARG_ARRAYTYPE_P(2);
@@ -4436,7 +4436,7 @@ array_fill(PG_FUNCTION_ARGS)
44364436
if (PG_ARGISNULL(1))
44374437
ereport(ERROR,
44384438
(errcode(ERRCODE_NULL_VALUE_NOT_ALLOWED),
4439-
errmsg("dimension array or low bound array must not be null")));
4439+
errmsg("dimension array or low bound array cannot be NULL")));
44404440

44414441
dims = PG_GETARG_ARRAYTYPE_P(1);
44424442

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy