aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/aggregatecmds.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-06-07 14:18:08 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-06-07 14:18:55 -0400
commit5c6d2a5e7c83bf6e157fe4ca0ab9b123012289e9 (patch)
tree4674cd6272ec253c3dec2842f19a4e17d9054361 /src/backend/commands/aggregatecmds.c
parentdf7cc3976db6980d115d1dc6556f021d9783d579 (diff)
downloadpostgresql-5c6d2a5e7c83bf6e157fe4ca0ab9b123012289e9.tar.gz
postgresql-5c6d2a5e7c83bf6e157fe4ca0ab9b123012289e9.zip
Message style and wording fixes
Diffstat (limited to 'src/backend/commands/aggregatecmds.c')
-rw-r--r--src/backend/commands/aggregatecmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/aggregatecmds.c b/src/backend/commands/aggregatecmds.c
index 5c4d576b866..7f45ba94070 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))));
/*