From 5c6d2a5e7c83bf6e157fe4ca0ab9b123012289e9 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 7 Jun 2016 14:18:08 -0400 Subject: Message style and wording fixes --- src/backend/commands/aggregatecmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/commands/aggregatecmds.c') 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)))); /* -- cgit v1.2.1