Commit 16c46870 authored by Neil Conway's avatar Neil Conway

Fix a few typos in comments.

parent 844cb60f
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* procedural language * procedural language
* *
* IDENTIFICATION * 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. * This software is copyrighted by Jan Wieck - Hamburg.
* *
...@@ -363,7 +363,7 @@ do_compile(FunctionCallInfo fcinfo, ...@@ -363,7 +363,7 @@ do_compile(FunctionCallInfo fcinfo,
function->fn_retset = procStruct->proretset; function->fn_retset = procStruct->proretset;
/* /*
* Lookup the functions return type * Lookup the function's return type
*/ */
typeTup = SearchSysCache(TYPEOID, typeTup = SearchSysCache(TYPEOID,
ObjectIdGetDatum(rettypeid), ObjectIdGetDatum(rettypeid),
...@@ -595,7 +595,7 @@ do_compile(FunctionCallInfo fcinfo, ...@@ -595,7 +595,7 @@ do_compile(FunctionCallInfo fcinfo,
plpgsql_add_initdatums(NULL); plpgsql_add_initdatums(NULL);
/* /*
* Now parse the functions text * Now parse the function's text
*/ */
parse_rc = plpgsql_yyparse(); parse_rc = plpgsql_yyparse();
if (parse_rc != 0) if (parse_rc != 0)
...@@ -605,7 +605,7 @@ do_compile(FunctionCallInfo fcinfo, ...@@ -605,7 +605,7 @@ do_compile(FunctionCallInfo fcinfo,
pfree(proc_source); 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; function->fn_nargs = procStruct->pronargs;
for (i = 0; i < function->fn_nargs; i++) for (i = 0; i < function->fn_nargs; i++)
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* procedural language * procedural language
* *
* IDENTIFICATION * 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. * This software is copyrighted by Jan Wieck - Hamburg.
* *
...@@ -398,7 +398,7 @@ plpgsql_exec_function(PLpgSQL_function *func, FunctionCallInfo fcinfo) ...@@ -398,7 +398,7 @@ plpgsql_exec_function(PLpgSQL_function *func, FunctionCallInfo fcinfo)
&fcinfo->isnull); &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. * into upper executor memory context.
*/ */
if (!fcinfo->isnull && !func->fn_retbyval) if (!fcinfo->isnull && !func->fn_retbyval)
...@@ -426,7 +426,7 @@ plpgsql_exec_function(PLpgSQL_function *func, FunctionCallInfo fcinfo) ...@@ -426,7 +426,7 @@ plpgsql_exec_function(PLpgSQL_function *func, FunctionCallInfo fcinfo)
error_context_stack = plerrcontext.previous; error_context_stack = plerrcontext.previous;
/* /*
* Return the functions result * Return the function's result
*/ */
return estate.retval; return estate.retval;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment