Skip to content

Commit b78769f

Browse files
committed
Fix it's and its to be correct.
1 parent c0cab6f commit b78769f

File tree

24 files changed

+54
-54
lines changed

24 files changed

+54
-54
lines changed

src/backend/access/transam/xact.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.56 1999/12/10 03:55:46 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/access/transam/xact.c,v 1.57 2000/01/05 18:23:44 momjian Exp $
1111
*
1212
* NOTES
1313
* Transaction aborts can now occur two ways:
@@ -36,7 +36,7 @@
3636
* they always have been, and user aborts are now handled by
3737
* UserAbortTransactionBlock(). Both of them rely on AbortTransaction()
3838
* to do all the real work. The only difference is what state we
39-
* enter after AbortTransaction() does it's work:
39+
* enter after AbortTransaction() does its work:
4040
*
4141
* * AbortTransactionBlock() leaves us in TBLOCK_ABORT and
4242
* * UserAbortTransactionBlock() leaves us in TBLOCK_ENDABORT

src/backend/catalog/pg_operator.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.45 1999/12/16 22:19:39 wieck Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/pg_operator.c,v 1.46 2000/01/05 18:23:45 momjian Exp $
1111
*
1212
* NOTES
1313
* these routines moved here from commands/define.c and somewhat cleaned up.
@@ -406,7 +406,7 @@ OperatorShellMake(char *operatorName,
406406
* resultType -- defer this, since it must be determined from
407407
* the pg_procedure catalog
408408
* commutatorObjectId -- if this is NULL, enter ObjectId=0
409-
* else if this already exists, enter it's ObjectId
409+
* else if this already exists, enter its ObjectId
410410
* else if this does not yet exist, and is not
411411
* the same as the main operatorName, then create
412412
* a shell and enter the new ObjectId

src/backend/commands/trigger.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1719,7 +1719,7 @@ DeferredTriggerSaveEvent(Relation rel, int event,
17191719

17201720
/* ----------
17211721
* Look at the previous event to the same tuple if
1722-
* any of it's triggers has already been executed.
1722+
* any of its triggers has already been executed.
17231723
* Such a situation would potentially violate RI
17241724
* so we abort the transaction.
17251725
* ----------
@@ -1795,7 +1795,7 @@ DeferredTriggerSaveEvent(Relation rel, int event,
17951795

17961796
/* ----------
17971797
* Look at the previous event to the same tuple if
1798-
* any of it's triggers has already been executed.
1798+
* any of its triggers has already been executed.
17991799
* Such a situation would potentially violate RI
18001800
* so we abort the transaction.
18011801
* ----------

src/backend/executor/execMain.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
*
2828
* IDENTIFICATION
29-
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.103 1999/12/16 22:19:44 wieck Exp $
29+
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.104 2000/01/05 18:23:46 momjian Exp $
3030
*
3131
*-------------------------------------------------------------------------
3232
*/
@@ -1007,7 +1007,7 @@ lnext: ;
10071007
/*
10081008
* now that we have a tuple, do the appropriate thing with it..
10091009
* either return it to the user, add it to a relation someplace,
1010-
* delete it from a relation, or modify some of it's attributes.
1010+
* delete it from a relation, or modify some of its attributes.
10111011
*/
10121012

10131013
switch (operation)

src/backend/executor/execProcnode.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@
44
* contains dispatch functions which call the appropriate "initialize",
55
* "get a tuple", and "cleanup" routines for the given node type.
66
* If the node has children, then it will presumably call ExecInitNode,
7-
* ExecProcNode, or ExecEndNode on it's subnodes and do the appropriate
7+
* ExecProcNode, or ExecEndNode on its subnodes and do the appropriate
88
* processing..
99
*
1010
* Copyright (c) 1994, Regents of the University of California
1111
*
1212
*
1313
* IDENTIFICATION
14-
* $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.16 1999/11/23 20:06:51 momjian Exp $
14+
* $Header: /cvsroot/pgsql/src/backend/executor/execProcnode.c,v 1.17 2000/01/05 18:23:46 momjian Exp $
1515
*
1616
*-------------------------------------------------------------------------
1717
*/
1818
/*
1919
* INTERFACE ROUTINES
20-
* ExecInitNode - initialize a plan node and it's subplans
20+
* ExecInitNode - initialize a plan node and its subplans
2121
* ExecProcNode - get a tuple by executing the plan node
22-
* ExecEndNode - shut down a plan node and it's subplans
22+
* ExecEndNode - shut down a plan node and its subplans
2323
*
2424
* NOTES
2525
* This used to be three files. It is now all combined into

src/backend/executor/nodeMaterial.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.27 1999/12/10 03:55:51 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/executor/nodeMaterial.c,v 1.28 2000/01/05 18:23:46 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -252,7 +252,7 @@ ExecInitMaterial(Material *node, EState *estate, Plan *parent)
252252
tupType = ExecGetScanType(&matstate->csstate);
253253

254254
/* ----------------
255-
* ExecCreatR wants it's second argument to be an object id of
255+
* ExecCreatR wants its second argument to be an object id of
256256
* a relation in the range table or a _NONAME_RELATION_ID
257257
* indicating that the relation is not in the range table.
258258
*

src/backend/libpq/be-pqexec.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.24 1999/07/17 20:17:01 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/libpq/Attic/be-pqexec.c,v 1.25 2000/01/05 18:23:47 momjian Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -290,7 +290,7 @@ strparse(char *s, char **fields, int *offsets, int maxfields)
290290
}
291291

292292
/* ----------------
293-
* pqtest_PQfn converts it's string into a PQArgBlock and
293+
* pqtest_PQfn converts its string into a PQArgBlock and
294294
* calls the specified function, which is assumed to return
295295
* an integer value.
296296
* ----------------
@@ -376,7 +376,7 @@ pqtest_PQfn(char *q)
376376
}
377377

378378
/* ----------------
379-
* pqtest looks at the first character of it's test argument
379+
* pqtest looks at the first character of its test argument
380380
* and decides which of pqtest_PQexec or pqtest_PQfn to call.
381381
* ----------------
382382
*/

src/backend/main/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.27 1999/07/17 20:17:04 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/main/main.c,v 1.28 2000/01/05 18:23:48 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -31,7 +31,7 @@
3131

3232
#define NOROOTEXEC "\
3333
\n\"root\" execution of the PostgreSQL backend is not permitted.\n\n\
34-
The backend must be started under it's own userid to prevent\n\
34+
The backend must be started under its own userid to prevent\n\
3535
a possible system security compromise. See the INSTALL file for\n\
3636
more information on how to properly start the postmaster.\n\n"
3737

src/backend/rewrite/rewriteHandler.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
*
88
* IDENTIFICATION
9-
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.63 1999/11/15 02:00:03 tgl Exp $
9+
* $Header: /cvsroot/pgsql/src/backend/rewrite/rewriteHandler.c,v 1.64 2000/01/05 18:23:48 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -1271,7 +1271,7 @@ fireRules(Query *parsetree,
12711271
* If there are instead rules with qualifications,
12721272
* the original query is still performed. But all
12731273
* the negated rule qualifications of the instead
1274-
* rules are added so it does it's actions only
1274+
* rules are added so it does its actions only
12751275
* in cases where the rule quals of all instead
12761276
* rules are false. Think of it as the default
12771277
* action in a case. We save this in *qual_products

src/backend/storage/buffer/bufmgr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.68 1999/11/22 02:03:21 tgl Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/storage/buffer/bufmgr.c,v 1.69 2000/01/05 18:23:49 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -242,7 +242,7 @@ ReadBufferWithBufferLock(Relation reln,
242242
if (!bufHdr)
243243
return InvalidBuffer;
244244

245-
/* if its already in the buffer pool, we're done */
245+
/* if it's already in the buffer pool, we're done */
246246
if (found)
247247
{
248248

src/backend/utils/adt/numeric.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* 1998 Jan Wieck
77
*
8-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.20 1999/09/29 21:13:25 wieck Exp $
8+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/numeric.c,v 1.21 2000/01/05 18:23:50 momjian Exp $
99
*
1010
* ----------
1111
*/
@@ -391,7 +391,7 @@ numeric(Numeric num, int32 typmod)
391391
/* ----------
392392
* If the number is in bounds and due to the present result scale
393393
* no rounding could be necessary, make a copy of the input and
394-
* modify it's header fields.
394+
* modify its header fields.
395395
* ----------
396396
*/
397397
if (num->n_weight < maxweight && scale >= num->n_rscale)

src/backend/utils/adt/ruleutils.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
/**********************************************************************
22
* get_ruledef.c - Function to get a rules definition text
3-
* out of it's tuple
3+
* out of its tuple
44
*
55
* IDENTIFICATION
6-
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.36 1999/12/24 06:43:34 tgl Exp $
6+
* $Header: /cvsroot/pgsql/src/backend/utils/adt/ruleutils.c,v 1.37 2000/01/05 18:23:50 momjian Exp $
77
*
88
* This software is copyrighted by Jan Wieck - Hamburg.
99
*
@@ -1847,8 +1847,8 @@ get_relation_name(Oid relid)
18471847

18481848

18491849
/* ----------
1850-
* get_attribute_name - Get an attribute name by it's
1851-
* relations Oid and it's attnum
1850+
* get_attribute_name - Get an attribute name by its
1851+
* relations Oid and its attnum
18521852
* ----------
18531853
*/
18541854
static char *

src/backend/utils/mmgr/aset.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.21 1999/08/24 20:11:17 tgl Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/mmgr/aset.c,v 1.22 2000/01/05 18:23:50 momjian Exp $
1111
*
1212
* NOTE:
1313
* This is a new (Feb. 05, 1999) implementation of the allocation set
@@ -232,7 +232,7 @@ AllocSetAlloc(AllocSet set, Size size)
232232

233233
/*
234234
* If one is found, remove it from the free list, make it again a
235-
* member of the alloc set and return it's data address.
235+
* member of the alloc set and return its data address.
236236
*
237237
*/
238238
if (chunk != NULL)

src/bin/psql/tab-complete.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ void initialize_readline(PGconn ** conn)
112112

113113
/* This is a list of all "things" in Pgsql, which can show up after CREATE or
114114
DROP; and there is also a query to get a list of them.
115-
The %s will be replaced by the text entered so far, the %d by it's length.
115+
The %s will be replaced by the text entered so far, the %d by its length.
116116
If you change the order here or insert things, make sure to also adjust the
117117
referencing macros below.
118118
*/

src/include/utils/pg_lzcompress.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* ----------
22
* pg_lzcompress.h -
33
*
4-
* $Header: /cvsroot/pgsql/src/include/utils/pg_lzcompress.h,v 1.3 1999/11/25 01:28:07 wieck Exp $
4+
* $Header: /cvsroot/pgsql/src/include/utils/pg_lzcompress.h,v 1.4 2000/01/05 18:23:52 momjian Exp $
55
*
66
* Definitions for the builtin LZ compressor
77
* ----------
@@ -81,7 +81,7 @@ typedef struct PGLZ_Header {
8181
*
8282
* min_comp_rate Minimum compression rate (0-99%), the output
8383
* must be smaller than the input. If that isn't
84-
* the case, the compressor will throw away it's
84+
* the case, the compressor will throw away its
8585
* output and copy the original, uncompressed data
8686
* to the output buffer.
8787
*

src/interfaces/odbc/convert.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ char tempBuf[TEXT_FIELD_SIZE+5];
347347

348348
} else {
349349

350-
/* for SQL_C_CHAR, its probably ok to leave currency symbols in. But
350+
/* for SQL_C_CHAR, it's probably ok to leave currency symbols in. But
351351
to convert to numeric types, it is necessary to get rid of those.
352352
*/
353353
if (field_type == PG_TYPE_MONEY)
@@ -626,7 +626,7 @@ int lobj_fd, retval;
626626
memcpy(&new_statement[npos], esc, strlen(esc));
627627
npos += strlen(esc);
628628
}
629-
else { /* its not a valid literal so just copy */
629+
else { /* it's not a valid literal so just copy */
630630
*end = '}';
631631
new_statement[npos++] = old_statement[opos];
632632
continue;
@@ -680,7 +680,7 @@ int lobj_fd, retval;
680680
continue;
681681
}
682682

683-
/* If no buffer, and its not null, then what the hell is it?
683+
/* If no buffer, and it's not null, then what the hell is it?
684684
Just leave it alone then.
685685
*/
686686
if ( ! buffer) {

src/interfaces/odbc/drvconn.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ int len = 0;
157157
}
158158

159159
/* Password is not a required parameter unless authentication asks for it.
160-
For now, I think its better to just let the application ask over and over until
160+
For now, I think it's better to just let the application ask over and over until
161161
a password is entered (the user can always hit Cancel to get out)
162162
*/
163163
if( ci->username[0] == '\0' ||

src/interfaces/odbc/info.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,8 +1373,8 @@ ConnInfo *ci;
13731373

13741374

13751375
/* Only show oid if option AND there are other columns AND
1376-
its not being called by SQLStatistics .
1377-
Always show OID if its a system table
1376+
it's not being called by SQLStatistics .
1377+
Always show OID if it's a system table
13781378
*/
13791379

13801380
if (result != SQL_ERROR && ! stmt->internal) {

src/interfaces/odbc/parse.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ RETCODE result;
447447
continue;
448448
}
449449

450-
/* otherwise, its probably an expression */
450+
/* otherwise, it's probably an expression */
451451
in_expr = TRUE;
452452
fi[stmt->nfld-1]->expr = TRUE;
453453
fi[stmt->nfld-1]->name[0] = '\0';
@@ -523,7 +523,7 @@ RETCODE result;
523523
continue;
524524
}
525525

526-
/* its a dot, resolve to table or alias */
526+
/* it's a dot, resolve to table or alias */
527527
else if (fi[i]->dot[0]) {
528528
for (k = 0; k < stmt->ntab; k++) {
529529
if ( ! stricmp(ti[k]->name, fi[i]->dot)) {

src/interfaces/odbc/pgtypes.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Int2 pgtype_to_sqltype(StatementClass *stmt, Int4 type)
224224
default:
225225

226226
/* first, check to see if 'type' is in list. If not, look up with query.
227-
Add oid, name to list. If its already in list, just return.
227+
Add oid, name to list. If it's already in list, just return.
228228
*/
229229
if (type == stmt->hdbc->lobj_type) /* hack until permanent type is available */
230230
return SQL_LONGVARBINARY;

src/interfaces/odbc/results.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ mylog("SQLGetData: enter, stmt=%u\n", stmt);
692692
mylog(" value = '%s'\n", value);
693693
}
694694
}
695-
else { /* its a SOCKET result (backend data) */
695+
else { /* it's a SOCKET result (backend data) */
696696
if (stmt->currTuple == -1 || ! res || ! res->tupleField) {
697697
stmt->errormsg = "Not positioned on a valid row for GetData.";
698698
stmt->errornumber = STMT_INVALID_CURSOR_STATE_ERROR;

src/interfaces/odbc/statement.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -783,7 +783,7 @@ QueryInfo qi;
783783
self->status = STMT_EXECUTING;
784784

785785

786-
// If its a SELECT statement, use a cursor.
786+
// If it's a SELECT statement, use a cursor.
787787
// Note that the declare cursor has already been prepended to the statement
788788
// in copy_statement...
789789
if (self->statement_type == STMT_TYPE_SELECT) {
@@ -822,7 +822,7 @@ QueryInfo qi;
822822

823823
}
824824
else { // not a SELECT statement so don't use a cursor
825-
mylog(" its NOT a select statement: stmt=%u\n", self);
825+
mylog(" it's NOT a select statement: stmt=%u\n", self);
826826
self->result = CC_send_query(conn, self->stmt_with_params, NULL);
827827

828828
// If we are in autocommit, we must send the commit.

0 commit comments

Comments
 (0)