diff options
Diffstat (limited to 'src/backend/commands')
| -rw-r--r-- | src/backend/commands/aggregatecmds.c | 4 | ||||
| -rw-r--r-- | src/backend/commands/operatorcmds.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/aggregatecmds.c b/src/backend/commands/aggregatecmds.c index 5c4d576b86..7f45ba9407 100644 --- a/src/backend/commands/aggregatecmds.c +++ b/src/backend/commands/aggregatecmds.c @@ -344,7 +344,7 @@ DefineAggregate(List *name, List *args, bool oldstyle, List *parameters, if (transTypeId != INTERNALOID) ereport(ERROR, (errcode(ERRCODE_INVALID_FUNCTION_DEFINITION), - errmsg("a serialization type must only be specified when the aggregate transition data type is \"%s\"", + errmsg("a serialization type must only be specified when the aggregate transition data type is %s", format_type_be(INTERNALOID)))); serialTypeId = typenameTypeId(NULL, serialType); @@ -366,7 +366,7 @@ DefineAggregate(List *name, List *args, bool oldstyle, List *parameters, if (serialTypeId == INTERNALOID) ereport(ERROR, (errcode(ERRCODE_INVALID_FUNCTION_DEFINITION), - errmsg("aggregate serialization type cannot be \"%s\"", + errmsg("aggregate serialization data type cannot be %s", format_type_be(serialTypeId)))); /* diff --git a/src/backend/commands/operatorcmds.c b/src/backend/commands/operatorcmds.c index 672f2eb212..1103624121 100644 --- a/src/backend/commands/operatorcmds.c +++ b/src/backend/commands/operatorcmds.c @@ -448,7 +448,7 @@ AlterOperator(AlterOperatorStmt *stmt) { ereport(ERROR, (errcode(ERRCODE_SYNTAX_ERROR), - errmsg("operator attribute \"%s\" can not be changed", + errmsg("operator attribute \"%s\" cannot be changed", defel->defname))); } else |
