aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/typecmds.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-09-16 14:48:52 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-09-16 15:36:58 +0200
commitf46dc96fcc652d5c29343e0eb4fa8e86a9468c36 (patch)
tree7229938ffa85dec3874d350ba20f456ba641eed9 /src/backend/commands/typecmds.c
parent7890a423470b3a763aa22faf69a44cb6a2df8f0e (diff)
downloadpostgresql-f46dc96fcc652d5c29343e0eb4fa8e86a9468c36.tar.gz
postgresql-f46dc96fcc652d5c29343e0eb4fa8e86a9468c36.zip
Message style improvements
Diffstat (limited to 'src/backend/commands/typecmds.c')
-rw-r--r--src/backend/commands/typecmds.c6
1 files changed, 3 insertions, 3 deletions
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.
*/