mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-27 08:39:28 +08:00
Message fixes
This commit is contained in:
parent
82480e28f5
commit
e8ec0b15a0
@ -10,7 +10,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.186 2009/06/11 14:48:58 momjian Exp $
|
* $PostgreSQL: pgsql/src/backend/libpq/hba.c,v 1.187 2009/06/21 20:15:32 petere Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -705,7 +705,7 @@ parse_hba_line(List *line, int line_num, HbaLine *parsedline)
|
|||||||
{
|
{
|
||||||
ereport(LOG,
|
ereport(LOG,
|
||||||
(errcode(ERRCODE_CONFIG_FILE_ERROR),
|
(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\"",
|
errcontext("line %d of configuration file \"%s\"",
|
||||||
line_num, HbaFileName)));
|
line_num, HbaFileName)));
|
||||||
return false;
|
return false;
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.158 2009/06/20 18:45:28 tgl Exp $
|
* $PostgreSQL: pgsql/src/backend/utils/adt/arrayfuncs.c,v 1.159 2009/06/21 20:15:32 petere Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -4396,7 +4396,7 @@ array_fill_with_lower_bounds(PG_FUNCTION_ARGS)
|
|||||||
if (PG_ARGISNULL(1) || PG_ARGISNULL(2))
|
if (PG_ARGISNULL(1) || PG_ARGISNULL(2))
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_NULL_VALUE_NOT_ALLOWED),
|
(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);
|
dims = PG_GETARG_ARRAYTYPE_P(1);
|
||||||
lbs = PG_GETARG_ARRAYTYPE_P(2);
|
lbs = PG_GETARG_ARRAYTYPE_P(2);
|
||||||
@ -4436,7 +4436,7 @@ array_fill(PG_FUNCTION_ARGS)
|
|||||||
if (PG_ARGISNULL(1))
|
if (PG_ARGISNULL(1))
|
||||||
ereport(ERROR,
|
ereport(ERROR,
|
||||||
(errcode(ERRCODE_NULL_VALUE_NOT_ALLOWED),
|
(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);
|
dims = PG_GETARG_ARRAYTYPE_P(1);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user