|
136 | 136 | /* |
137 | 137 | * This struct contains the current state of the snapshot building |
138 | 138 | * machinery. Besides a forward declaration in the header, it is not exposed |
139 | | - * to the public, so we can easily change it's contents. |
| 139 | + * to the public, so we can easily change its contents. |
140 | 140 | */ |
141 | 141 | struct SnapBuild |
142 | 142 | { |
@@ -607,7 +607,7 @@ SnapBuildExportSnapshot(SnapBuild *builder) |
607 | 607 | /* |
608 | 608 | * Reset a previously SnapBuildExportSnapshot()'ed snapshot if there is |
609 | 609 | * any. Aborts the previously started transaction and resets the resource |
610 | | - * owner back to it's original value. |
| 610 | + * owner back to its original value. |
611 | 611 | */ |
612 | 612 | void |
613 | 613 | SnapBuildClearExportedSnapshot() |
@@ -1033,7 +1033,7 @@ SnapBuildCommitTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid, |
1033 | 1033 | SnapBuildAddCommittedTxn(builder, xid); |
1034 | 1034 | } |
1035 | 1035 |
|
1036 | | - /* if there's any reason to build a historic snapshot, to so now */ |
| 1036 | + /* if there's any reason to build a historic snapshot, do so now */ |
1037 | 1037 | if (forced_timetravel || top_needs_timetravel || sub_needs_timetravel) |
1038 | 1038 | { |
1039 | 1039 | /* |
@@ -1093,7 +1093,7 @@ SnapBuildCommitTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid, |
1093 | 1093 | */ |
1094 | 1094 |
|
1095 | 1095 | /* |
1096 | | - * Process a running xacts record, and use it's information to first build a |
| 1096 | + * Process a running xacts record, and use its information to first build a |
1097 | 1097 | * historic snapshot and later to release resources that aren't needed |
1098 | 1098 | * anymore. |
1099 | 1099 | */ |
@@ -1404,8 +1404,8 @@ typedef struct SnapBuildOnDisk |
1404 | 1404 | /* |
1405 | 1405 | * Store/Load a snapshot from disk, depending on the snapshot builder's state. |
1406 | 1406 | * |
1407 | | - * Supposed to be used by external (i.e. not snapbuild.c) code that just reada |
1408 | | - * record that's a potential location for a serialized snapshot. |
| 1407 | + * Supposed to be used by external (i.e. not snapbuild.c) code that just read |
| 1408 | + * a record that's a potential location for a serialized snapshot. |
1409 | 1409 | */ |
1410 | 1410 | void |
1411 | 1411 | SnapBuildSerializationPoint(SnapBuild *builder, XLogRecPtr lsn) |
|
0 commit comments