Message fixes
authorPeter Eisentraut <[email protected]>
Sun, 21 Jun 2009 20:15:32 +0000 (20:15 +0000)
committerPeter Eisentraut <[email protected]>
Sun, 21 Jun 2009 20:15:32 +0000 (20:15 +0000)
src/backend/libpq/hba.c
src/backend/utils/adt/arrayfuncs.c

index 95272e7b688b91e018af7b188f97bd0fc39b6f2c..825509ff21f57cbdad969c992d2faef15c74695d 100644 (file)
@@ -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;
index fb96541bdfc9e42ee0e3515248c2e22c5da9ebb2..86a6f372b3b0258b5dd7473f5a50ad676df83871 100644 (file)
@@ -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);