From f46dc96fcc652d5c29343e0eb4fa8e86a9468c36 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 16 Sep 2021 14:48:52 +0200 Subject: Message style improvements --- src/backend/commands/typecmds.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/backend/commands/typecmds.c') diff --git a/src/backend/commands/typecmds.c b/src/backend/commands/typecmds.c index 106d9703ac0..982d0ee1800 100644 --- a/src/backend/commands/typecmds.c +++ b/src/backend/commands/typecmds.c @@ -498,7 +498,7 @@ DefineType(ParseState *pstate, List *names, List *parameters) analyzeOid = findTypeAnalyzeFunction(analyzeName, typoid); /* - * Likewise look up the subscripting procedure if any. If it is not + * Likewise look up the subscripting function if any. If it is not * specified, but a typelem is specified, allow that if * raw_array_subscript_handler can be used. (This is for backwards * compatibility; maybe someday we should throw an error instead.) @@ -512,7 +512,7 @@ DefineType(ParseState *pstate, List *names, List *parameters) else ereport(ERROR, (errcode(ERRCODE_INVALID_PARAMETER_VALUE), - errmsg("element type cannot be specified without a valid subscripting procedure"))); + errmsg("element type cannot be specified without a subscripting function"))); } /* @@ -840,7 +840,7 @@ DefineDomain(CreateDomainStmt *stmt) analyzeProcedure = baseType->typanalyze; /* - * Domains don't need a subscript procedure, since they are not + * Domains don't need a subscript function, since they are not * subscriptable on their own. If the base type is subscriptable, the * parser will reduce the type to the base type before subscripting. */ -- cgit v1.2.3