Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb78769f

Browse files
committed
Fix it's and its to be correct.
1 parentc0cab6f commitb78769f

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() doesit's work:
39+
*enter after AbortTransaction() doesits 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, enterit's ObjectId
409+
* else if this already exists, enterits 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 ofit's triggers has already been executed.
1722+
* any ofits 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 ofit's triggers has already been executed.
1798+
* any ofits 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 ofit's attributes.
1010+
* delete it from a relation, or modify some ofits 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 onit's subnodes and do the appropriate
7+
* ExecProcNode, or ExecEndNode onits 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 andit's subplans
20+
*ExecInitNode-initialize a plan node andits subplans
2121
*ExecProcNode-get a tuple by executing the plan node
22-
*ExecEndNode-shut down a plan node andit's subplans
22+
*ExecEndNode-shut down a plan node andits 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 wantsit's second argument to be an object id of
255+
*ExecCreatR wantsits 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 convertsit's string into a PQArgBlock and
293+
*pqtest_PQfn convertsits 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 ofit's test argument
379+
*pqtest looks at the first character ofits 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
#defineNOROOTEXEC "\
3333
\n\"root\" execution of the PostgreSQL backend is not permitted.\n\n\
34-
The backend must be started underit's own userid to prevent\n\
34+
The backend must be started underits 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 doesit's actions only
1274+
* rules are added so it doesits 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
returnInvalidBuffer;
244244

245-
/* ifits already in the buffer pool, we're done */
245+
/* ifit'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-
* modifyit's header fields.
394+
* modifyits 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 ofit's tuple
3+
* out ofits 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 byit's
1851-
* relations Oid andit's attnum
1850+
* get_attribute_name- Get an attribute name byits
1851+
* relations Oid andits attnum
18521852
* ----------
18531853
*/
18541854
staticchar*

‎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 returnit's data address.
235+
* member of the alloc set and returnits 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 byit's length.
115+
The %s will be replaced by the text entered so far, the %d byits 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_rateMinimum compression rate (0-99%), the output
8383
*must be smaller than the input. If that isn't
84-
*the case, the compressor will throw awayit's
84+
*the case, the compressor will throw awayits
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, andits not null, then what the hell is it?
683+
/*If no buffer, andit'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 thinkits better to just let the application ask over and over until
160+
For now, I thinkit'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 ifits a system table
1376+
it's not being called by SQLStatistics .
1377+
Always show OID ifit'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
elseif (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. Ifits already in list, just return.
227+
Add oid, name to list. Ifit's already in list, just return.
228228
*/
229229
if (type==stmt->hdbc->lobj_type)/* hack until permanent type is available */
230230
returnSQL_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-
//Ifits a SELECT statement, use a cursor.
786+
//Ifit'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)

[8]ページ先頭

©2009-2025 Movatter.jp