diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2017-02-06 11:33:58 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2017-02-06 11:34:18 +0200 |
commit | 3aee34d41d38f16546dd0761b9652e47be29f006 (patch) | |
tree | 1940c051c4cc0fdd515da1c4a7eb66e7225216d0 /src/backend/commands/functioncmds.c | |
parent | e5e75ea288299aafe6dba1d1c18f284593210596 (diff) | |
download | postgresql-3aee34d41d38f16546dd0761b9652e47be29f006.tar.gz postgresql-3aee34d41d38f16546dd0761b9652e47be29f006.zip |
Fix typos in comments.
Backpatch to all supported versions, where applicable, to make backpatching
of future fixes go more smoothly.
Josh Soref
Discussion: https://www.postgresql.org/message-id/CACZqfqCf+5qRztLPgmmosr-B0Ye4srWzzw_mo4c_8_B_mtjmJQ@mail.gmail.com
Diffstat (limited to 'src/backend/commands/functioncmds.c')
-rw-r--r-- | src/backend/commands/functioncmds.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c index dbbb2d3f88a..bcc3a883675 100644 --- a/src/backend/commands/functioncmds.c +++ b/src/backend/commands/functioncmds.c @@ -1006,7 +1006,7 @@ CreateFunction(CreateFunctionStmt *stmt, const char *queryString) } else { - /* store SQL NULL instead of emtpy array */ + /* store SQL NULL instead of empty array */ trftypes = NULL; } @@ -1406,7 +1406,7 @@ CreateCast(CreateCastStmt *stmt) (errcode(ERRCODE_WRONG_OBJECT_TYPE), errmsg("cast will be ignored because the target data type is a domain"))); - /* Detemine the cast method */ + /* Determine the cast method */ if (stmt->func != NULL) castmethod = COERCION_METHOD_FUNCTION; else if (stmt->inout) |