Fix a few typos in comments.
authorNeil Conway <[email protected]>
Tue, 30 Nov 2004 03:50:29 +0000 (03:50 +0000)
committerNeil Conway <[email protected]>
Tue, 30 Nov 2004 03:50:29 +0000 (03:50 +0000)
src/pl/plpgsql/src/pl_comp.c
src/pl/plpgsql/src/pl_exec.c

index 35ec93f75efe5ac8aa3a32266cc2176d887a347d..5b7c44320dcab5d932393d832033ea0a0dfaa71d 100644 (file)
@@ -363,7 +363,7 @@ do_compile(FunctionCallInfo fcinfo,
                        function->fn_retset = procStruct->proretset;
 
                        /*
-                        * Lookup the functions return type
+                        * Lookup the function's return type
                         */
                        typeTup = SearchSysCache(TYPEOID,
                                                                         ObjectIdGetDatum(rettypeid),
@@ -595,7 +595,7 @@ do_compile(FunctionCallInfo fcinfo,
        plpgsql_add_initdatums(NULL);
 
        /*
-        * Now parse the functions text
+        * Now parse the function's text
         */
        parse_rc = plpgsql_yyparse();
        if (parse_rc != 0)
@@ -605,7 +605,7 @@ do_compile(FunctionCallInfo fcinfo,
        pfree(proc_source);
 
        /*
-        * If that was successful, complete the functions info.
+        * If that was successful, complete the function's info.
         */
        function->fn_nargs = procStruct->pronargs;
        for (i = 0; i < function->fn_nargs; i++)
index 1e77951375c7b6212f82862dcced62b46fc5d26a..8148d51ff47f1e20f95570fe16b1b461618c8dc7 100644 (file)
@@ -398,7 +398,7 @@ plpgsql_exec_function(PLpgSQL_function *func, FunctionCallInfo fcinfo)
                                                                                        &fcinfo->isnull);
 
                        /*
-                        * If the functions return type isn't by value, copy the value
+                        * If the function's return type isn't by value, copy the value
                         * into upper executor memory context.
                         */
                        if (!fcinfo->isnull && !func->fn_retbyval)
@@ -426,7 +426,7 @@ plpgsql_exec_function(PLpgSQL_function *func, FunctionCallInfo fcinfo)
        error_context_stack = plerrcontext.previous;
 
        /*
-        * Return the functions result
+        * Return the function's result
         */
        return estate.retval;
 }