From 8147ac0ae2abbd6ce5e99e28edbeb5000b790c76 Mon Sep 17 00:00:00 2001 From: petere Date: Sun, 21 Jun 2009 20:15:32 +0000 Subject: [PATCH] Message fixes --- src/backend/libpq/hba.c | 2 +- src/backend/utils/adt/arrayfuncs.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backend/libpq/hba.c b/src/backend/libpq/hba.c index 95272e7b68..825509ff21 100644 --- a/src/backend/libpq/hba.c +++ b/src/backend/libpq/hba.c @@ -705,7 +705,7 @@ parse_hba_line(List *line, int line_num, HbaLine *parsedline) { ereport(LOG, (errcode(ERRCODE_CONFIG_FILE_ERROR), - errmsg("end-of-line before ip address specification"), + errmsg("end-of-line before IP address specification"), errcontext("line %d of configuration file \"%s\"", line_num, HbaFileName))); return false; diff --git a/src/backend/utils/adt/arrayfuncs.c b/src/backend/utils/adt/arrayfuncs.c index fb96541bdf..86a6f372b3 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 cannot be NULL"))); + errmsg("dimension array or low bound array must not 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 cannot be NULL"))); + errmsg("dimension array or low bound array must not be null"))); dims = PG_GETARG_ARRAYTYPE_P(1); -- 2.11.4.GIT