Skip to content

Commit 128897b

Browse files
committed
Fix grammatical typos around possessive "its"
Some places spelled it "it's", which is short for "it is". In passing, fix a couple other nearby grammatical errors. Author: Jacob Brazeal <jacob.brazeal@gmail.com> Discussion: https://postgr.es/m/CA+COZaAO8g1KJCV0T48=CkJMjAnnfTGLWOATz+2aCh40c2Nm+g@mail.gmail.com
1 parent 235328e commit 128897b

File tree

18 files changed

+21
-21
lines changed

18 files changed

+21
-21
lines changed

contrib/amcheck/verify_nbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2469,7 +2469,7 @@ bt_child_highkey_check(BtreeCheckState *state,
24692469
* So, now we traverse to the right of that cousin page and
24702470
* current child level page under consideration still belongs
24712471
* to the subtree of target's left sibling. Thus, we need to
2472-
* match child's high key to it's left uncle page high key.
2472+
* match child's high key to its left uncle page high key.
24732473
* Thankfully we saved it, it's called a "low key" of target
24742474
* page.
24752475
*/

src/backend/access/spgist/spgscan.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -865,7 +865,7 @@ spgWalk(Relation index, SpGistScanOpaque so, bool scanWholeIndex,
865865

866866
if (SpGistPageIsLeaf(page))
867867
{
868-
/* Page is a leaf - that is, all it's tuples are heap items */
868+
/* Page is a leaf - that is, all its tuples are heap items */
869869
OffsetNumber max = PageGetMaxOffsetNumber(page);
870870

871871
if (SpGistBlockIsRoot(blkno))

src/backend/replication/logical/reorderbuffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1663,7 +1663,7 @@ ReorderBufferTruncateTXN(ReorderBuffer *rb, ReorderBufferTXN *txn, bool txn_prep
16631663
/* Check we're not mixing changes from different transactions. */
16641664
Assert(change->txn == txn);
16651665

1666-
/* remove the change from it's containing list */
1666+
/* remove the change from its containing list */
16671667
dlist_delete(&change->node);
16681668

16691669
/*

src/backend/replication/logical/worker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4092,7 +4092,7 @@ subscription_change_cb(Datum arg, int cacheid, uint32 hashvalue)
40924092
* subxact_info_write
40934093
* Store information about subxacts for a toplevel transaction.
40944094
*
4095-
* For each subxact we store offset of it's first change in the main file.
4095+
* For each subxact we store offset of its first change in the main file.
40964096
* The file is always over-written as a whole.
40974097
*
40984098
* XXX We should only store subxacts that were not aborted yet.

src/backend/replication/pgoutput/pgoutput.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1849,7 +1849,7 @@ pgoutput_stream_stop(struct LogicalDecodingContext *ctx,
18491849

18501850
/*
18511851
* Notify downstream to discard the streamed transaction (along with all
1852-
* it's subtransactions, if it's a toplevel transaction).
1852+
* its subtransactions, if it's a toplevel transaction).
18531853
*/
18541854
static void
18551855
pgoutput_stream_abort(struct LogicalDecodingContext *ctx,
@@ -1882,7 +1882,7 @@ pgoutput_stream_abort(struct LogicalDecodingContext *ctx,
18821882

18831883
/*
18841884
* Notify downstream to apply the streamed transaction (along with all
1885-
* it's subtransactions).
1885+
* its subtransactions).
18861886
*/
18871887
static void
18881888
pgoutput_stream_commit(struct LogicalDecodingContext *ctx,

src/backend/storage/lmgr/lock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1323,7 +1323,7 @@ SetupLockInTable(LockMethod lockMethodTable, PGPROC *proc,
13231323
* on our own behalf, in which case our group leader isn't changing
13241324
* because the group leader for a process can only ever be changed by
13251325
* the process itself; or else we are transferring a fast-path lock to
1326-
* the main lock table, in which case that process can't change it's
1326+
* the main lock table, in which case that process can't change its
13271327
* lock group leader without first releasing all of its locks (and in
13281328
* particular the one we are currently transferring).
13291329
*/

src/backend/storage/lmgr/lwlock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
* The attentive reader might have noticed that naively doing the above has a
6161
* glaring race condition: We try to lock using the atomic operations and
6262
* notice that we have to wait. Unfortunately by the time we have finished
63-
* queuing, the former locker very well might have already finished it's
63+
* queuing, the former locker very well might have already finished its
6464
* work. That's problematic because we're now stuck waiting inside the OS.
6565
6666
* To mitigate those races we use a two phased attempt at locking:

src/backend/utils/adt/formatting.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5561,7 +5561,7 @@ NUM_numpart_from_char(NUMProc *Np, int id, int input_len)
55615561
}
55625562

55635563
/*
5564-
* try read non-locale sign, it's happen only if format is not exact
5564+
* try read non-locale sign, which happens only if format is not exact
55655565
* and we cannot determine sign position of MI/PL/SG, an example:
55665566
*
55675567
* FM9.999999MI -> 5.01-

src/backend/utils/adt/jsonpath_exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
#include "utils/timestamp.h"
7878

7979
/*
80-
* Represents "base object" and it's "id" for .keyvalue() evaluation.
80+
* Represents "base object" and its "id" for .keyvalue() evaluation.
8181
*/
8282
typedef struct JsonBaseObjectInfo
8383
{

src/backend/utils/adt/tsrank.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ get_docrep(TSVector txt, QueryRepresentation *qr, int *doclen)
812812
qsort(doc, cur, sizeof(DocRepresentation), compareDocR);
813813

814814
/*
815-
* Join QueryItem per WordEntry and it's position
815+
* Join QueryItem per WordEntry and its position
816816
*/
817817
storage.pos = doc->pos;
818818
storage.data.query.items = palloc(sizeof(QueryItem *) * qr->query->size);

src/backend/utils/sort/tuplesort.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ struct Tuplesortstate
202202
int64 maxSpace; /* maximum amount of space occupied among sort
203203
* of groups, either in-memory or on-disk */
204204
bool isMaxSpaceDisk; /* true when maxSpace is value for on-disk
205-
* space, false when it's value for in-memory
205+
* space, false when its value for in-memory
206206
* space */
207207
TupSortStatus maxSpaceStatus; /* sort status when maxSpace was reached */
208208
LogicalTapeSet *tapeset; /* logtape.c object for tapes in a temp file */

src/bin/pg_combinebackup/reconstruct.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ reconstruct_from_incremental_file(char *input_filename,
214214
* taking no action on those blocks that generated any WAL.
215215
*
216216
* Sadly, we have no way of validating that this is really what
217-
* happened, and neither does the server. From it's perspective,
217+
* happened, and neither does the server. From its perspective,
218218
* an unmodified block that contains data looks exactly the same
219219
* as a zero-filled block that never had any data: either way,
220220
* it's not mentioned in any WAL summary and the server has no

src/fe_utils/parallel_slot.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,11 +347,11 @@ connect_slot(ParallelSlotArray *sa, int slotno, const char *dbname)
347347
* returned allowing the connection to be reused.
348348
*
349349
* Otherwise, if any idle slot is not yet connected to any database, the slot
350-
* will be returned with it's connection opened using the stored cparams and
350+
* will be returned with its connection opened using the stored cparams and
351351
* optionally the given dbname if not null.
352352
*
353353
* Otherwise, if any idle slot exists, an idle slot will be chosen and returned
354-
* after having it's connection disconnected and reconnected using the stored
354+
* after having its connection disconnected and reconnected using the stored
355355
* cparams and optionally the given dbname if not null.
356356
*
357357
* Otherwise, if any slots have connections that are busy, we loop on select()

src/include/jit/SectionMemoryManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ class SectionMemoryManager : public RTDyldMemoryManager {
182182
// The actual block of free memory
183183
sys::MemoryBlock Free;
184184
// If there is a pending allocation from the same reservation right before
185-
// this block, store it's index in PendingMem, to be able to update the
185+
// this block, store its index in PendingMem, to be able to update the
186186
// pending region if part of this block is allocated, rather than having to
187187
// create a new one
188188
unsigned PendingPrefixIndex;

src/include/nodes/plannodes.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1148,7 +1148,7 @@ typedef struct Gather
11481148
bool single_copy; /* don't execute plan more than once */
11491149
bool invisible; /* suppress EXPLAIN display (for testing)? */
11501150
Bitmapset *initParam; /* param id's of initplans which are referred
1151-
* at gather or one of it's child node */
1151+
* at gather or one of its child nodes */
11521152
} Gather;
11531153

11541154
/* ------------
@@ -1184,7 +1184,7 @@ typedef struct GatherMerge
11841184

11851185
/*
11861186
* param id's of initplans which are referred at gather merge or one of
1187-
* it's child node
1187+
* its child nodes
11881188
*/
11891189
Bitmapset *initParam;
11901190
} GatherMerge;

src/pl/plpgsql/src/pl_exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4690,7 +4690,7 @@ exec_stmt_open(PLpgSQL_execstate *estate, PLpgSQL_stmt_open *stmt)
46904690
}
46914691

46924692
/* ----------
4693-
* Process the OPEN according to it's type.
4693+
* Process the OPEN according to its type.
46944694
* ----------
46954695
*/
46964696
if (stmt->query != NULL)

src/test/modules/test_slru/t/001_multixact.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
);
5959

6060
# We expect this query to hang in the critical section after generating new
61-
# multixact, but before filling it's offset into SLRU.
61+
# multixact, but before filling its offset into SLRU.
6262
# Running an injection point inside a critical section requires it to be
6363
# loaded beforehand.
6464
$creator->query_until(

src/test/recovery/t/035_standby_logical_decoding.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,7 @@ sub wait_until_vacuum_can_remove
822822
);
823823

824824
##################################################
825-
# DROP DATABASE should drops it's slots, including active slots.
825+
# DROP DATABASE should drop its slots, including active slots.
826826
##################################################
827827

828828
# drop the logical slots

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