improve_comments_on_CreateFunction_returnSet.patch

text/plain

Filename: improve_comments_on_CreateFunction_returnSet.patch
Type: text/plain
Part: 0
Message: improve comments on CreateFunction returnsSet
diff --git a/src/backend/commands/functioncmds.c b/src/backend/commands/functioncmds.c
old mode 100644
new mode 100755
index 8a435cd93db..01d21098e06
--- a/src/backend/commands/functioncmds.c
+++ b/src/backend/commands/functioncmds.c
@@ -1245,7 +1245,7 @@ CreateFunction(ParseState *pstate, CreateFunctionStmt *stmt)
 
 	/*
 	 * Set default values for COST and ROWS depending on other parameters;
-	 * reject ROWS if it's not returnsSet.  NB: pg_dump knows these default
+	 * reject ROWS if it does not return a set.  NB: pg_dump knows these default
 	 * values, keep it in sync if you change them.
 	 */
 	if (procost < 0)