diff options
Diffstat (limited to 'src/backend/access')
-rw-r--r-- | src/backend/access/brin/brin_pageops.c | 2 | ||||
-rw-r--r-- | src/backend/access/gin/ginbtree.c | 2 | ||||
-rw-r--r-- | src/backend/access/gin/ginxlog.c | 2 | ||||
-rw-r--r-- | src/backend/access/heap/heapam.c | 8 | ||||
-rw-r--r-- | src/backend/access/heap/rewriteheap.c | 2 | ||||
-rw-r--r-- | src/backend/access/nbtree/nbtsearch.c | 2 | ||||
-rw-r--r-- | src/backend/access/rmgrdesc/xactdesc.c | 2 | ||||
-rw-r--r-- | src/backend/access/transam/commit_ts.c | 2 | ||||
-rw-r--r-- | src/backend/access/transam/xact.c | 10 | ||||
-rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
10 files changed, 17 insertions, 17 deletions
diff --git a/src/backend/access/brin/brin_pageops.c b/src/backend/access/brin/brin_pageops.c index acb64bde4fc..4e37ccbe9e9 100644 --- a/src/backend/access/brin/brin_pageops.c +++ b/src/backend/access/brin/brin_pageops.c @@ -492,7 +492,7 @@ brin_evacuate_page(Relation idxRel, BlockNumber pagesPerRange, /* * Return a pinned and exclusively locked buffer which can be used to insert an * index item of size itemsz. If oldbuf is a valid buffer, it is also locked - * (in a order determined to avoid deadlocks.) + * (in an order determined to avoid deadlocks.) * * If there's no existing page with enough free space to accomodate the new * item, the relation is extended. If this happens, *extended is set to true. diff --git a/src/backend/access/gin/ginbtree.c b/src/backend/access/gin/ginbtree.c index 5b6aa93e2c5..3f92c56d3c0 100644 --- a/src/backend/access/gin/ginbtree.c +++ b/src/backend/access/gin/ginbtree.c @@ -313,7 +313,7 @@ ginFindParents(GinBtree btree, GinBtreeStack *stack) * the parent needs to be updated. (a root split returns true as it doesn't * need any further action by the caller to complete) * - * When inserting a downlink to a internal page, 'childbuf' contains the + * When inserting a downlink to an internal page, 'childbuf' contains the * child page that was split. Its GIN_INCOMPLETE_SPLIT flag will be cleared * atomically with the insert. Also, the existing item at the given location * is updated to point to 'updateblkno'. diff --git a/src/backend/access/gin/ginxlog.c b/src/backend/access/gin/ginxlog.c index bea7055604f..ea85c4e2c03 100644 --- a/src/backend/access/gin/ginxlog.c +++ b/src/backend/access/gin/ginxlog.c @@ -409,7 +409,7 @@ ginRedoSplit(XLogReaderState *record) /* * VACUUM_PAGE record contains simply a full image of the page, similar to - * a XLOG_FPI record. + * an XLOG_FPI record. */ static void ginRedoVacuumPage(XLogReaderState *record) diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index c30a5b3cd1d..cb86a4fa3e6 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -5107,7 +5107,7 @@ l5: /* * Subroutine for heap_lock_updated_tuple_rec. * - * Given an hypothetical multixact status held by the transaction identified + * Given a hypothetical multixact status held by the transaction identified * with the given xid, does the current transaction need to wait, fail, or can * it continue if it wanted to acquire a lock of the given mode? "needwait" * is set to true if waiting is necessary; if it can continue, then @@ -7139,7 +7139,7 @@ log_heap_update(Relation reln, Buffer oldbuf, } /* - * Perform XLogInsert of a XLOG_HEAP2_NEW_CID record + * Perform XLogInsert of an XLOG_HEAP2_NEW_CID record * * This is only used in wal_level >= WAL_LEVEL_LOGICAL, and only for catalog * tuples. @@ -7179,7 +7179,7 @@ log_heap_new_cid(Relation relation, HeapTuple tup) * * We need to check for LOCK ONLY because multixacts might be * transferred to the new tuple in case of FOR KEY SHARE updates in - * which case there will be a xmax, although the tuple just got + * which case there will be an xmax, although the tuple just got * inserted. */ if (hdr->t_infomask & HEAP_XMAX_INVALID || @@ -7217,7 +7217,7 @@ log_heap_new_cid(Relation relation, HeapTuple tup) * Build a heap tuple representing the configured REPLICA IDENTITY to represent * the old tuple in a UPDATE or DELETE. * - * Returns NULL if there's no need to log a identity or if there's no suitable + * Returns NULL if there's no need to log an identity or if there's no suitable * key in the Relation relation. */ static HeapTuple diff --git a/src/backend/access/heap/rewriteheap.c b/src/backend/access/heap/rewriteheap.c index af5c158fc68..bcce3e35d5e 100644 --- a/src/backend/access/heap/rewriteheap.c +++ b/src/backend/access/heap/rewriteheap.c @@ -195,7 +195,7 @@ typedef struct typedef OldToNewMappingData *OldToNewMapping; /* - * In-Memory data for a xid that might need logical remapping entries + * In-Memory data for an xid that might need logical remapping entries * to be logged. */ typedef struct RewriteMappingFile diff --git a/src/backend/access/nbtree/nbtsearch.c b/src/backend/access/nbtree/nbtsearch.c index fcb614b9427..cfb1d64f86a 100644 --- a/src/backend/access/nbtree/nbtsearch.c +++ b/src/backend/access/nbtree/nbtsearch.c @@ -118,7 +118,7 @@ _bt_search(Relation rel, int keysz, ScanKey scankey, bool nextkey, * In write-mode, allow _bt_moveright to finish any incomplete splits * along the way. Strictly speaking, we'd only need to finish an * incomplete split on the leaf page we're about to insert to, not on - * any of the upper levels (they is taken care of in _bt_getstackbuf, + * any of the upper levels (they are taken care of in _bt_getstackbuf, * if the leaf page is split and we insert to the parent page). But * this is a good opportunity to finish splits of internal pages too. */ diff --git a/src/backend/access/rmgrdesc/xactdesc.c b/src/backend/access/rmgrdesc/xactdesc.c index cac1df8e07a..793f9bb51fa 100644 --- a/src/backend/access/rmgrdesc/xactdesc.c +++ b/src/backend/access/rmgrdesc/xactdesc.c @@ -21,7 +21,7 @@ #include "utils/timestamp.h" /* - * Parse the WAL format of a xact commit and abort records into a easier to + * Parse the WAL format of an xact commit and abort records into an easier to * understand format. * * This routines are in xactdesc.c because they're accessed in backend (when diff --git a/src/backend/access/transam/commit_ts.c b/src/backend/access/transam/commit_ts.c index 40042a5fd53..63344327e3d 100644 --- a/src/backend/access/transam/commit_ts.c +++ b/src/backend/access/transam/commit_ts.c @@ -122,7 +122,7 @@ static void WriteSetTimestampXlogRec(TransactionId mainxid, int nsubxids, * subtrans implementation changes in the future, we might want to revisit the * decision of storing timestamp info for each subxid. * - * The do_xlog parameter tells us whether to include a XLog record of this + * The do_xlog parameter tells us whether to include an XLog record of this * or not. Normal path through RecordTransactionCommit() will be related * to a transaction commit XLog record, and so should pass "false" here. * Other callers probably want to pass true, so that the given values persist diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index f6009e07473..62f00455e1b 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -221,7 +221,7 @@ static TransactionStateData TopTransactionStateData = { /* * unreportedXids holds XIDs of all subtransactions that have not yet been - * reported in a XLOG_XACT_ASSIGNMENT record. + * reported in an XLOG_XACT_ASSIGNMENT record. */ static int nUnreportedXids; static TransactionId unreportedXids[PGPROC_MAX_CACHED_SUBXIDS]; @@ -532,7 +532,7 @@ AssignTransactionId(TransactionState s) /* * When wal_level=logical, guarantee that a subtransaction's xid can only * be seen in the WAL stream if its toplevel xid has been logged before. - * If necessary we log a xact_assignment record with fewer than + * If necessary we log an xact_assignment record with fewer than * PGPROC_MAX_CACHED_SUBXIDS. Note that it is fine if didLogXid isn't set * for a transaction even though it appears in a WAL record, we just might * superfluously log something. That can happen when an xid is included @@ -1232,8 +1232,8 @@ RecordTransactionCommit(void) * Check if we want to commit asynchronously. We can allow the XLOG flush * to happen asynchronously if synchronous_commit=off, or if the current * transaction has not performed any WAL-logged operation or didn't assign - * a xid. The transaction can end up not writing any WAL, even if it has - * a xid, if it only wrote to temporary and/or unlogged tables. It can + * an xid. The transaction can end up not writing any WAL, even if it has + * an xid, if it only wrote to temporary and/or unlogged tables. It can * end up having written WAL without an xid if it did HOT pruning. In * case of a crash, the loss of such a transaction will be irrelevant; * temp tables will be lost anyway, unlogged tables will be truncated and @@ -1305,7 +1305,7 @@ RecordTransactionCommit(void) /* * Wait for synchronous replication, if required. Similar to the decision * above about using committing asynchronously we only want to wait if - * this backend assigned a xid and wrote WAL. No need to wait if a xid + * this backend assigned an xid and wrote WAL. No need to wait if an xid * was assigned due to temporary/unlogged tables or due to HOT pruning. * * Note that at this stage we have marked clog, but still show as running diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index b203b82899a..4af8fdc3642 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -8832,7 +8832,7 @@ CreateRestartPoint(int flags) } /* - * Due to an historical accident multixact truncations are not WAL-logged, + * Due to a historical accident multixact truncations are not WAL-logged, * but just performed everytime the mxact horizon is increased. So, unless * we explicitly execute truncations on a standby it will never clean out * /pg_multixact which obviously is bad, both because it uses space and |