Skip to content

Commit 16c4687

Browse files
author
Neil Conway
committed
Fix a few typos in comments.
1 parent 844cb60 commit 16c4687

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/pl/plpgsql/src/pl_comp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* procedural language
44
*
55
* IDENTIFICATION
6-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.82 2004/09/13 20:09:20 tgl Exp $
6+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_comp.c,v 1.83 2004/11/30 03:50:29 neilc Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -363,7 +363,7 @@ do_compile(FunctionCallInfo fcinfo,
363363
function->fn_retset = procStruct->proretset;
364364

365365
/*
366-
* Lookup the functions return type
366+
* Lookup the function's return type
367367
*/
368368
typeTup = SearchSysCache(TYPEOID,
369369
ObjectIdGetDatum(rettypeid),
@@ -595,7 +595,7 @@ do_compile(FunctionCallInfo fcinfo,
595595
plpgsql_add_initdatums(NULL);
596596

597597
/*
598-
* Now parse the functions text
598+
* Now parse the function's text
599599
*/
600600
parse_rc = plpgsql_yyparse();
601601
if (parse_rc != 0)
@@ -605,7 +605,7 @@ do_compile(FunctionCallInfo fcinfo,
605605
pfree(proc_source);
606606

607607
/*
608-
* If that was successful, complete the functions info.
608+
* If that was successful, complete the function's info.
609609
*/
610610
function->fn_nargs = procStruct->pronargs;
611611
for (i = 0; i < function->fn_nargs; i++)

src/pl/plpgsql/src/pl_exec.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* procedural language
44
*
55
* IDENTIFICATION
6-
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.122 2004/11/21 22:27:34 tgl Exp $
6+
* $PostgreSQL: pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.123 2004/11/30 03:50:29 neilc Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -398,7 +398,7 @@ plpgsql_exec_function(PLpgSQL_function *func, FunctionCallInfo fcinfo)
398398
&fcinfo->isnull);
399399

400400
/*
401-
* If the functions return type isn't by value, copy the value
401+
* If the function's return type isn't by value, copy the value
402402
* into upper executor memory context.
403403
*/
404404
if (!fcinfo->isnull && !func->fn_retbyval)
@@ -426,7 +426,7 @@ plpgsql_exec_function(PLpgSQL_function *func, FunctionCallInfo fcinfo)
426426
error_context_stack = plerrcontext.previous;
427427

428428
/*
429-
* Return the functions result
429+
* Return the function's result
430430
*/
431431
return estate.retval;
432432
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy