From b78769fda2dc51052d2d0349f4b284c7431dcd01 Mon Sep 17 00:00:00 2001
From: Bruce Momjian <bruce@momjian.us>
Date: Wed, 5 Jan 2000 18:23:54 +0000
Subject: [PATCH] Fix it's and its to be correct.

---
 src/backend/access/transam/xact.c    |  4 ++--
 src/backend/catalog/pg_operator.c    |  4 ++--
 src/backend/commands/trigger.c       |  4 ++--
 src/backend/executor/execMain.c      |  4 ++--
 src/backend/executor/execProcnode.c  |  8 ++++----
 src/backend/executor/nodeMaterial.c  |  4 ++--
 src/backend/libpq/be-pqexec.c        |  6 +++---
 src/backend/main/main.c              |  4 ++--
 src/backend/rewrite/rewriteHandler.c |  4 ++--
 src/backend/storage/buffer/bufmgr.c  |  4 ++--
 src/backend/utils/adt/numeric.c      |  4 ++--
 src/backend/utils/adt/ruleutils.c    |  8 ++++----
 src/backend/utils/mmgr/aset.c        |  4 ++--
 src/bin/psql/tab-complete.c          |  2 +-
 src/include/utils/pg_lzcompress.h    |  4 ++--
 src/interfaces/odbc/convert.c        |  6 +++---
 src/interfaces/odbc/drvconn.c        |  2 +-
 src/interfaces/odbc/info.c           |  4 ++--
 src/interfaces/odbc/parse.c          |  4 ++--
 src/interfaces/odbc/pgtypes.c        |  2 +-
 src/interfaces/odbc/results.c        |  2 +-
 src/interfaces/odbc/statement.c      |  4 ++--
 src/pl/plpgsql/src/pl_exec.c         | 10 +++++-----
 src/pl/tcl/pltcl.c                   |  6 +++---
 24 files changed, 54 insertions(+), 54 deletions(-)

diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c
index a9dc4db8348..d3a81e647bf 100644
--- a/src/backend/access/transam/xact.c
+++ b/src/backend/access/transam/xact.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.56 1999/12/10 03:55:46 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.57 2000/01/05 18:23:44 momjian Exp $
  *
  * NOTES
  *		Transaction aborts can now occur two ways:
@@ -36,7 +36,7 @@
  *		they always have been, and user aborts are now handled by
  *		UserAbortTransactionBlock().  Both of them rely on AbortTransaction()
  *		to do all the real work.  The only difference is what state we
- *		enter after AbortTransaction() does it's work:
+ *		enter after AbortTransaction() does its work:
  *
  *		* AbortTransactionBlock() leaves us in TBLOCK_ABORT and
  *		* UserAbortTransactionBlock() leaves us in TBLOCK_ENDABORT
diff --git a/src/backend/catalog/pg_operator.c b/src/backend/catalog/pg_operator.c
index da967a23dfc..f30482f4dbe 100644
--- a/src/backend/catalog/pg_operator.c
+++ b/src/backend/catalog/pg_operator.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.45 1999/12/16 22:19:39 wieck Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.46 2000/01/05 18:23:45 momjian Exp $
  *
  * NOTES
  *	  these routines moved here from commands/define.c and somewhat cleaned up.
@@ -406,7 +406,7 @@ OperatorShellMake(char *operatorName,
  *	 resultType -- defer this, since it must be determined from
  *				   the pg_procedure catalog
  *	 commutatorObjectId -- if this is NULL, enter ObjectId=0
- *					  else if this already exists, enter it's ObjectId
+ *					  else if this already exists, enter its ObjectId
  *					  else if this does not yet exist, and is not
  *						the same as the main operatorName, then create
  *						a shell and enter the new ObjectId
diff --git a/src/backend/commands/trigger.c b/src/backend/commands/trigger.c
index 40159db834f..daa5b8e7175 100644
--- a/src/backend/commands/trigger.c
+++ b/src/backend/commands/trigger.c
@@ -1719,7 +1719,7 @@ DeferredTriggerSaveEvent(Relation rel, int event,
 
 			/* ----------
 			 * Look at the previous event to the same tuple if
-			 * any of it's triggers has already been executed.
+			 * any of its triggers has already been executed.
 			 * Such a situation would potentially violate RI
 			 * so we abort the transaction.
 			 * ----------
@@ -1795,7 +1795,7 @@ DeferredTriggerSaveEvent(Relation rel, int event,
 
 			/* ----------
 			 * Look at the previous event to the same tuple if
-			 * any of it's triggers has already been executed.
+			 * any of its triggers has already been executed.
 			 * Such a situation would potentially violate RI
 			 * so we abort the transaction.
 			 * ----------
diff --git a/src/backend/executor/execMain.c b/src/backend/executor/execMain.c
index 02f04912bd8..352e368d99a 100644
--- a/src/backend/executor/execMain.c
+++ b/src/backend/executor/execMain.c
@@ -26,7 +26,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.103 1999/12/16 22:19:44 wieck Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.104 2000/01/05 18:23:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -1007,7 +1007,7 @@ lnext:	;
 		/*
 		 * now that we have a tuple, do the appropriate thing with it..
 		 * either return it to the user, add it to a relation someplace,
-		 * delete it from a relation, or modify some of it's attributes.
+		 * delete it from a relation, or modify some of its attributes.
 		 */
 
 		switch (operation)
diff --git a/src/backend/executor/execProcnode.c b/src/backend/executor/execProcnode.c
index d4527be23ba..72f3e19fc42 100644
--- a/src/backend/executor/execProcnode.c
+++ b/src/backend/executor/execProcnode.c
@@ -4,22 +4,22 @@
  *	 contains dispatch functions which call the appropriate "initialize",
  *	 "get a tuple", and "cleanup" routines for the given node type.
  *	 If the node has children, then it will presumably call ExecInitNode,
- *	 ExecProcNode, or ExecEndNode on it's subnodes and do the appropriate
+ *	 ExecProcNode, or ExecEndNode on its subnodes and do the appropriate
  *	 processing..
  *
  * Copyright (c) 1994, Regents of the University of California
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.16 1999/11/23 20:06:51 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.17 2000/01/05 18:23:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
 /*
  *	 INTERFACE ROUTINES
- *		ExecInitNode	-		initialize a plan node and it's subplans
+ *		ExecInitNode	-		initialize a plan node and its subplans
  *		ExecProcNode	-		get a tuple by executing the plan node
- *		ExecEndNode		-		shut down a plan node and it's subplans
+ *		ExecEndNode		-		shut down a plan node and its subplans
  *
  *	 NOTES
  *		This used to be three files.  It is now all combined into
diff --git a/src/backend/executor/nodeMaterial.c b/src/backend/executor/nodeMaterial.c
index c80152d61d8..f6417698d65 100644
--- a/src/backend/executor/nodeMaterial.c
+++ b/src/backend/executor/nodeMaterial.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.27 1999/12/10 03:55:51 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.28 2000/01/05 18:23:46 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -252,7 +252,7 @@ ExecInitMaterial(Material *node, EState *estate, Plan *parent)
 	tupType = ExecGetScanType(&matstate->csstate);
 
 	/* ----------------
-	 *	ExecCreatR wants it's second argument to be an object id of
+	 *	ExecCreatR wants its second argument to be an object id of
 	 *	a relation in the range table or a _NONAME_RELATION_ID
 	 *	indicating that the relation is not in the range table.
 	 *
diff --git a/src/backend/libpq/be-pqexec.c b/src/backend/libpq/be-pqexec.c
index e92efd503fd..22d10852764 100644
--- a/src/backend/libpq/be-pqexec.c
+++ b/src/backend/libpq/be-pqexec.c
@@ -8,7 +8,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.24 1999/07/17 20:17:01 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.25 2000/01/05 18:23:47 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -290,7 +290,7 @@ strparse(char *s, char **fields, int *offsets, int maxfields)
 }
 
 /* ----------------
- *		pqtest_PQfn converts it's string into a PQArgBlock and
+ *		pqtest_PQfn converts its string into a PQArgBlock and
  *		calls the specified function, which is assumed to return
  *		an integer value.
  * ----------------
@@ -376,7 +376,7 @@ pqtest_PQfn(char *q)
 }
 
 /* ----------------
- *		pqtest looks at the first character of it's test argument
+ *		pqtest looks at the first character of its test argument
  *		and decides which of pqtest_PQexec or pqtest_PQfn to call.
  * ----------------
  */
diff --git a/src/backend/main/main.c b/src/backend/main/main.c
index de85b5469e5..3dec0b368aa 100644
--- a/src/backend/main/main.c
+++ b/src/backend/main/main.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.27 1999/07/17 20:17:04 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.28 2000/01/05 18:23:48 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -31,7 +31,7 @@
 
 #define NOROOTEXEC "\
 \n\"root\" execution of the PostgreSQL backend is not permitted.\n\n\
-The backend must be started under it's own userid to prevent\n\
+The backend must be started under its own userid to prevent\n\
 a possible system security compromise. See the INSTALL file for\n\
 more information on how to properly start the postmaster.\n\n"
 
diff --git a/src/backend/rewrite/rewriteHandler.c b/src/backend/rewrite/rewriteHandler.c
index 0f3dbba1366..101cd61bed1 100644
--- a/src/backend/rewrite/rewriteHandler.c
+++ b/src/backend/rewrite/rewriteHandler.c
@@ -6,7 +6,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.63 1999/11/15 02:00:03 tgl Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.64 2000/01/05 18:23:48 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -1271,7 +1271,7 @@ fireRules(Query *parsetree,
 			 * If there are instead rules with qualifications,
 			 * the original query is still performed. But all
 			 * the negated rule qualifications of the instead
-			 * rules are added so it does it's actions only
+			 * rules are added so it does its actions only
 			 * in cases where the rule quals of all instead
 			 * rules are false. Think of it as the default
 			 * action in a case. We save this in *qual_products
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c
index 28b467f9ad3..292fb728c11 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.68 1999/11/22 02:03:21 tgl Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.69 2000/01/05 18:23:49 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -242,7 +242,7 @@ ReadBufferWithBufferLock(Relation reln,
 	if (!bufHdr)
 		return InvalidBuffer;
 
-	/* if its already in the buffer pool, we're done */
+	/* if it's already in the buffer pool, we're done */
 	if (found)
 	{
 
diff --git a/src/backend/utils/adt/numeric.c b/src/backend/utils/adt/numeric.c
index 6df22995575..f33a5324c2d 100644
--- a/src/backend/utils/adt/numeric.c
+++ b/src/backend/utils/adt/numeric.c
@@ -5,7 +5,7 @@
  *
  *	1998 Jan Wieck
  *
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.20 1999/09/29 21:13:25 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.21 2000/01/05 18:23:50 momjian Exp $
  *
  * ----------
  */
@@ -391,7 +391,7 @@ numeric(Numeric num, int32 typmod)
 	/* ----------
 	 * If the number is in bounds and due to the present result scale
 	 * no rounding could be necessary, make a copy of the input and
-	 * modify it's header fields.
+	 * modify its header fields.
 	 * ----------
 	 */
 	if (num->n_weight < maxweight && scale >= num->n_rscale)
diff --git a/src/backend/utils/adt/ruleutils.c b/src/backend/utils/adt/ruleutils.c
index 00099791c09..8e473b558a0 100644
--- a/src/backend/utils/adt/ruleutils.c
+++ b/src/backend/utils/adt/ruleutils.c
@@ -1,9 +1,9 @@
 /**********************************************************************
  * get_ruledef.c	- Function to get a rules definition text
- *			  out of it's tuple
+ *			  out of its tuple
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.36 1999/12/24 06:43:34 tgl Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.37 2000/01/05 18:23:50 momjian Exp $
  *
  *	  This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -1847,8 +1847,8 @@ get_relation_name(Oid relid)
 
 
 /* ----------
- * get_attribute_name			- Get an attribute name by it's
- *					  relations Oid and it's attnum
+ * get_attribute_name			- Get an attribute name by its
+ *					  relations Oid and its attnum
  * ----------
  */
 static char *
diff --git a/src/backend/utils/mmgr/aset.c b/src/backend/utils/mmgr/aset.c
index 7c7ba2828d9..6ad0f1db1f3 100644
--- a/src/backend/utils/mmgr/aset.c
+++ b/src/backend/utils/mmgr/aset.c
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.21 1999/08/24 20:11:17 tgl Exp $
+ *	  $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.22 2000/01/05 18:23:50 momjian Exp $
  *
  * NOTE:
  *	This is a new (Feb. 05, 1999) implementation of the allocation set
@@ -232,7 +232,7 @@ AllocSetAlloc(AllocSet set, Size size)
 
 	/*
 	 * If one is found, remove it from the free list, make it again a
-	 * member of the alloc set and return it's data address.
+	 * member of the alloc set and return its data address.
 	 *
 	 */
 	if (chunk != NULL)
diff --git a/src/bin/psql/tab-complete.c b/src/bin/psql/tab-complete.c
index 2b08ff3f861..6ec503605c9 100644
--- a/src/bin/psql/tab-complete.c
+++ b/src/bin/psql/tab-complete.c
@@ -112,7 +112,7 @@ void initialize_readline(PGconn ** conn)
 
 /* This is a list of all "things" in Pgsql, which can show up after CREATE or
    DROP; and there is also a query to get a list of them.
-   The %s will be replaced by the text entered so far, the %d by it's length.
+   The %s will be replaced by the text entered so far, the %d by its length.
    If you change the order here or insert things, make sure to also adjust the
    referencing macros below.
 */
diff --git a/src/include/utils/pg_lzcompress.h b/src/include/utils/pg_lzcompress.h
index 9e3d3f32945..db9618fd40e 100644
--- a/src/include/utils/pg_lzcompress.h
+++ b/src/include/utils/pg_lzcompress.h
@@ -1,7 +1,7 @@
 /* ----------
  * pg_lzcompress.h -
  *
- * $Header: /cvsroot/pgsql/src/include/utils/pg_lzcompress.h,v 1.3 1999/11/25 01:28:07 wieck Exp $
+ * $Header: /cvsroot/pgsql/src/include/utils/pg_lzcompress.h,v 1.4 2000/01/05 18:23:52 momjian Exp $
  *
  *	Definitions for the builtin LZ compressor
  * ----------
@@ -81,7 +81,7 @@ typedef struct PGLZ_Header {
  *
  *		min_comp_rate		Minimum compression rate (0-99%), the output
  *							must be smaller than the input. If that isn't
- *							the case, the compressor will throw away it's
+ *							the case, the compressor will throw away its
  *							output and copy the original, uncompressed data
  *							to the output buffer.
  *
diff --git a/src/interfaces/odbc/convert.c b/src/interfaces/odbc/convert.c
index 4355fdf6f55..09d27d3e047 100644
--- a/src/interfaces/odbc/convert.c
+++ b/src/interfaces/odbc/convert.c
@@ -347,7 +347,7 @@ char tempBuf[TEXT_FIELD_SIZE+5];
 
     } else {
 
-		/*	for SQL_C_CHAR, its probably ok to leave currency symbols in.  But
+		/*	for SQL_C_CHAR, it's probably ok to leave currency symbols in.  But
 			to convert to numeric types, it is necessary to get rid of those.
 		*/
 		if (field_type == PG_TYPE_MONEY)
@@ -626,7 +626,7 @@ int lobj_fd, retval;
 				memcpy(&new_statement[npos], esc, strlen(esc));
 				npos += strlen(esc);
 			}
-			else {		/* its not a valid literal so just copy */
+			else {		/* it's not a valid literal so just copy */
 				*end = '}';	
 				new_statement[npos++] = old_statement[opos];
 				continue;
@@ -680,7 +680,7 @@ int lobj_fd, retval;
 			continue;
 		}
 
-		/*	If no buffer, and its not null, then what the hell is it? 
+		/*	If no buffer, and it's not null, then what the hell is it? 
 			Just leave it alone then.
 		*/
 		if ( ! buffer) {
diff --git a/src/interfaces/odbc/drvconn.c b/src/interfaces/odbc/drvconn.c
index c9a98cc037e..261874772ed 100644
--- a/src/interfaces/odbc/drvconn.c
+++ b/src/interfaces/odbc/drvconn.c
@@ -157,7 +157,7 @@ dialog:
 	}
 
 	/*	Password is not a required parameter unless authentication asks for it.
-		For now, I think its better to just let the application ask over and over until
+		For now, I think it's better to just let the application ask over and over until
 		a password is entered (the user can always hit Cancel to get out)
 	*/
 	if( ci->username[0] == '\0' ||
diff --git a/src/interfaces/odbc/info.c b/src/interfaces/odbc/info.c
index 84092b98afa..8f630710da0 100644
--- a/src/interfaces/odbc/info.c
+++ b/src/interfaces/odbc/info.c
@@ -1373,8 +1373,8 @@ ConnInfo *ci;
 
 
 	/*	Only show oid if option AND there are other columns AND 
-		its not being called by SQLStatistics .
-		Always show OID if its a system table
+		it's not being called by SQLStatistics .
+		Always show OID if it's a system table
 	*/
 
 	if (result != SQL_ERROR && ! stmt->internal) {
diff --git a/src/interfaces/odbc/parse.c b/src/interfaces/odbc/parse.c
index 78abaf30f06..3920116c5ca 100644
--- a/src/interfaces/odbc/parse.c
+++ b/src/interfaces/odbc/parse.c
@@ -447,7 +447,7 @@ RETCODE result;
 				continue;
 			}
 
-			/*	otherwise, its probably an expression */
+			/*	otherwise, it's probably an expression */
 			in_expr = TRUE;
 			fi[stmt->nfld-1]->expr = TRUE;
 			fi[stmt->nfld-1]->name[0] = '\0';
@@ -523,7 +523,7 @@ RETCODE result;
 			continue;
 		} 
 
-		/*	its a dot, resolve to table or alias */
+		/*	it's a dot, resolve to table or alias */
 		else if (fi[i]->dot[0]) {
 			for (k = 0; k < stmt->ntab; k++) {
 				if ( ! stricmp(ti[k]->name, fi[i]->dot)) {
diff --git a/src/interfaces/odbc/pgtypes.c b/src/interfaces/odbc/pgtypes.c
index b3a9d94b1a6..5c02c4c21a3 100644
--- a/src/interfaces/odbc/pgtypes.c
+++ b/src/interfaces/odbc/pgtypes.c
@@ -224,7 +224,7 @@ Int2 pgtype_to_sqltype(StatementClass *stmt, Int4 type)
 	default:                
 
 		/*	first, check to see if 'type' is in list.  If not, look up with query.
-			Add oid, name to list.  If its already in list, just return.
+			Add oid, name to list.  If it's already in list, just return.
 		*/
 		if (type == stmt->hdbc->lobj_type)	/* hack until permanent type is available */
 			return SQL_LONGVARBINARY;
diff --git a/src/interfaces/odbc/results.c b/src/interfaces/odbc/results.c
index ece49dd8b08..47291127d1e 100644
--- a/src/interfaces/odbc/results.c
+++ b/src/interfaces/odbc/results.c
@@ -692,7 +692,7 @@ mylog("SQLGetData: enter, stmt=%u\n", stmt);
 			mylog("     value = '%s'\n", value);
 		}
 	}
-	else { /* its a SOCKET result (backend data) */
+	else { /* it's a SOCKET result (backend data) */
 		if (stmt->currTuple == -1 || ! res || ! res->tupleField) {
 			stmt->errormsg = "Not positioned on a valid row for GetData.";
 			stmt->errornumber = STMT_INVALID_CURSOR_STATE_ERROR;
diff --git a/src/interfaces/odbc/statement.c b/src/interfaces/odbc/statement.c
index a5fc1488a62..da716001299 100644
--- a/src/interfaces/odbc/statement.c
+++ b/src/interfaces/odbc/statement.c
@@ -783,7 +783,7 @@ QueryInfo qi;
 	self->status = STMT_EXECUTING;
 
 
-	//	If its a SELECT statement, use a cursor.
+	//	If it's a SELECT statement, use a cursor.
 	//	Note that the declare cursor has already been prepended to the statement
 	//	in copy_statement...
 	if (self->statement_type == STMT_TYPE_SELECT) {
@@ -822,7 +822,7 @@ QueryInfo qi;
 		
 	}
 	else  { // not a SELECT statement so don't use a cursor 		 
-		mylog("      its NOT a select statement: stmt=%u\n", self);
+		mylog("      it's NOT a select statement: stmt=%u\n", self);
 		self->result = CC_send_query(conn, self->stmt_with_params, NULL);
 		
 		//	If we are in autocommit, we must send the commit.
diff --git a/src/pl/plpgsql/src/pl_exec.c b/src/pl/plpgsql/src/pl_exec.c
index 2c37943eb48..5c7405a1e40 100644
--- a/src/pl/plpgsql/src/pl_exec.c
+++ b/src/pl/plpgsql/src/pl_exec.c
@@ -3,7 +3,7 @@
  *			  procedural language
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.15 1999/11/22 17:56:40 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/pl/plpgsql/src/pl_exec.c,v 1.16 2000/01/05 18:23:53 momjian Exp $
  *
  *	  This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -1911,7 +1911,7 @@ exec_assign_value(PLpgSQL_execstate * estate,
 			 * ----------
 			 */
 			if (!HeapTupleIsValid(rec->tup))
-				elog(ERROR, "record %s is unassigned yet - don't know it's tuple structure", rec->refname);
+				elog(ERROR, "record %s is unassigned yet - don't know its tuple structure", rec->refname);
 
 			/* ----------
 			 * Get the number of the records field to change and the
@@ -1952,7 +1952,7 @@ exec_assign_value(PLpgSQL_execstate * estate,
 				}
 
 				/* ----------
-				 * This is the field to change. Get it's type
+				 * This is the field to change. Get its type
 				 * and cast the value we insert to that type.
 				 * ----------
 				 */
@@ -2045,7 +2045,7 @@ exec_eval_expr(PLpgSQL_execstate * estate,
 		elog(ERROR, "query \"%s\" didn't return a single value", expr->query);
 
 	/* ----------
-	 * Return the result and it's type
+	 * Return the result and its type
 	 * ----------
 	 */
 	*rettype = SPI_gettypeid(SPI_tuptable->tupdesc, 1);
@@ -2299,7 +2299,7 @@ exec_move_row(PLpgSQL_execstate * estate,
 	bool		isnull;
 
 	/* ----------
-	 * Record is simple - just put the tuple and it's descriptor
+	 * Record is simple - just put the tuple and its descriptor
 	 * into the record
 	 * ----------
 	 */
diff --git a/src/pl/tcl/pltcl.c b/src/pl/tcl/pltcl.c
index ea9a956e548..8db608b0da1 100644
--- a/src/pl/tcl/pltcl.c
+++ b/src/pl/tcl/pltcl.c
@@ -3,7 +3,7 @@
  *			  procedural language (PL)
  *
  * IDENTIFICATION
- *	  $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.15 1999/11/22 17:56:41 momjian Exp $
+ *	  $Header: /cvsroot/pgsql/src/pl/tcl/pltcl.c,v 1.16 2000/01/05 18:23:54 momjian Exp $
  *
  *	  This software is copyrighted by Jan Wieck - Hamburg.
  *
@@ -695,7 +695,7 @@ pltcl_func_handler(FmgrInfo *proinfo,
 
 	/************************************************************
 	 * Convert the result value from the safe interpreter
-	 * into it's PostgreSQL data format and return it.
+	 * into its PostgreSQL data format and return it.
 	 * Again, the call to fmgr() could fire an elog and we
 	 * have to count for the current interpreter level we are
 	 * on. The save_restart from above is still good.
@@ -1792,7 +1792,7 @@ pltcl_SPI_execp(ClientData cdata, Tcl_Interp *interp,
 	}
 
 	/************************************************************
-	 * Get the prepared plan descriptor by it's key
+	 * Get the prepared plan descriptor by its key
 	 ************************************************************/
 	hashent = Tcl_FindHashEntry(pltcl_query_hash, argv[i++]);
 	if (hashent == NULL)
-- 
GitLab