diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2021-09-16 14:48:52 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2021-09-16 15:36:44 +0200 |
commit | 4ac0f450b698442c3273ddfe8eed0e1a7e56645f (patch) | |
tree | ad844a4694c19d1e79782bc2ad5f40624ce94bd3 /src/backend/commands/typecmds.c | |
parent | 3d7c752a2f092b9f6581497009eacd10cab90548 (diff) | |
download | postgresql-4ac0f450b698442c3273ddfe8eed0e1a7e56645f.tar.gz postgresql-4ac0f450b698442c3273ddfe8eed0e1a7e56645f.zip |
Message style improvements
Diffstat (limited to 'src/backend/commands/typecmds.c')
-rw-r--r-- | src/backend/commands/typecmds.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/commands/typecmds.c b/src/backend/commands/typecmds.c index 6bdb1a1660c..b290629a450 100644 --- a/src/backend/commands/typecmds.c +++ b/src/backend/commands/typecmds.c @@ -495,7 +495,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.) @@ -509,7 +509,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"))); } /* @@ -837,7 +837,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. */ |