8000 Revert dubious message wording change. · postgrespro/postgres_cluster@1c8f03d · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

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)
0