diff options
Diffstat (limited to 'src/backend/access/transam')
-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 |
3 files changed, 7 insertions, 7 deletions
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 |