]> granicus.if.org Git - postgresql/commitdiff
Fix a few typos in comments.
authorNeil Conway <neilc@samurai.com>
Tue, 30 Nov 2004 03:50:29 +0000 (03:50 +0000)
committerNeil Conway <neilc@samurai.com>
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 ea95bef629bb48eeb78773f0d257c03e21aaa291..ff8ec94c8515cd6faba6a7bb588e34bcee1274d9 100644 (file)
@@ -3,7 +3,7 @@
  *                       procedural language
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.82 2004/09/13 20:09:20 tgl Exp $
+ *       $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.83 2004/11/30 03:50:29 neilc Exp $
  *
  *       This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -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 43442dcd1642cf7baecbdb03f28fb05132432ded..9156c8fc9224626b6deac6ee652f0e2d3b9c74c0 100644 (file)
@@ -3,7 +3,7 @@
  *                       procedural language
  *
  * IDENTIFICATION
- *       $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.122 2004/11/21 22:27:34 tgl Exp $
+ *       $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.123 2004/11/30 03:50:29 neilc Exp $
  *
  *       This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -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;
 }