|
34 | 34 | * xid. That is we keep a list of transactions between snapshot->(xmin, xmax) |
35 | 35 | * that we consider committed, everything else is considered aborted/in |
36 | 36 | * progress. That also allows us not to care about subtransactions before they |
37 | | - * have committed which means thismodules, in contrast to HS, doesn't have to |
| 37 | + * have committed which means thismodule, in contrast to HS, doesn't have to |
38 | 38 | * care about suboverflowed subtransactions and similar. |
39 | 39 | * |
40 | 40 | * One complexity of doing this is that to e.g. handle mixed DDL/DML |
|
82 | 82 | * Initially the machinery is in the START stage. When an xl_running_xacts |
83 | 83 | * record is read that is sufficiently new (above the safe xmin horizon), |
84 | 84 | * there's a state transition. If there were no running xacts when the |
85 | | - *runnign_xacts record was generated, we'll directly go into CONSISTENT |
| 85 | + *running_xacts record was generated, we'll directly go into CONSISTENT |
86 | 86 | * state, otherwise we'll switch to the FULL_SNAPSHOT state. Having a full |
87 | 87 | * snapshot means that all transactions that start henceforth can be decoded |
88 | 88 | * in their entirety, but transactions that started previously can't. In |
@@ -273,7 +273,7 @@ static bool SnapBuildRestore(SnapBuild *builder, XLogRecPtr lsn); |
273 | 273 | /* |
274 | 274 | * Allocate a new snapshot builder. |
275 | 275 | * |
276 | | - * xmin_horizon is the xid >=which we can be sure no catalog rows have been |
| 276 | + * xmin_horizon is the xid >=which we can be sure no catalog rows have been |
277 | 277 | * removed, start_lsn is the LSN >= we want to replay commits. |
278 | 278 | */ |
279 | 279 | SnapBuild* |
@@ -1840,7 +1840,7 @@ CheckPointSnapBuild(void) |
1840 | 1840 | charpath[MAXPGPATH]; |
1841 | 1841 |
|
1842 | 1842 | /* |
1843 | | - * We startof with a minimum of the last redo pointer. No new replication |
| 1843 | + * We startoff with a minimum of the last redo pointer. No new replication |
1844 | 1844 | * slot will start before that, so that's a safe upper bound for removal. |
1845 | 1845 | */ |
1846 | 1846 | redo=GetRedoRecPtr(); |
@@ -1898,7 +1898,7 @@ CheckPointSnapBuild(void) |
1898 | 1898 | /* |
1899 | 1899 | * It's not particularly harmful, though strange, if we can't |
1900 | 1900 | * remove the file here. Don't prevent the checkpoint from |
1901 | | - * completing, that'd be cure worse than the disease. |
| 1901 | + * completing, that'd beacure worse than the disease. |
1902 | 1902 | */ |
1903 | 1903 | if (unlink(path)<0) |
1904 | 1904 | { |
|