aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-11-30 03:50:29 +0000
committerNeil Conway <neilc@samurai.com>2004-11-30 03:50:29 +0000
commit16c46870b77d5ed6385f3c9c46db8d1fb8e46bb5 (patch)
treeebbafe162feb87ee0ae2a16b7a6e98285b302d69
parent844cb60f1a1dba8c7ffa3d497063ccb92af91d86 (diff)
downloadpostgresql-16c46870b77d5ed6385f3c9c46db8d1fb8e46bb5.tar.gz
postgresql-16c46870b77d5ed6385f3c9c46db8d1fb8e46bb5.zip
Fix a few typos in comments.
-rw-r--r--src/pl/plpgsql/src/pl_comp.c8
-rw-r--r--src/pl/plpgsql/src/pl_exec.c6
2 files changed, 7 insertions, 7 deletions
diff --git a/src/pl/plpgsql/src/pl_comp.c b/src/pl/plpgsql/src/pl_comp.c
index ea95bef629b..ff8ec94c851 100644
--- a/src/pl/plpgsql/src/pl_comp.c
+++ b/src/pl/plpgsql/src/pl_comp.c
@@ -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++)
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c
index 43442dcd164..9156c8fc922 100644
--- a/src/pl/plpgsql/src/pl_exec.c
+++ b/src/pl/plpgsql/src/pl_exec.c
@@ -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;
}