From: Neil Conway Date: Tue, 30 Nov 2004 03:50:29 +0000 (+0000) Subject: Fix a few typos in comments. X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=d936c5ee860891995525ed1f66d448529604124a;p=users%2Fbernd%2Fpostgres.git Fix a few typos in comments. --- diff --git a/src/pl/plpgsql/src/pl_comp.c b/src/pl/plpgsql/src/pl_comp.c index 35ec93f75e..5b7c44320d 100644 --- a/src/pl/plpgsql/src/pl_comp.c +++ b/src/pl/plpgsql/src/pl_comp.c @@ -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 1e77951375..8148d51ff4 100644 --- a/src/pl/plpgsql/src/pl_exec.c +++ b/src/pl/plpgsql/src/pl_exec.c @@ -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; }