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);

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