|
12 | 12 | * |
13 | 13 | * This file provides the following: |
14 | 14 | * * An infrastructure to name nodes in a replication setup |
15 | | - * * A facility to efficiently store and persist replication progress in a |
| 15 | + * * A facility to efficiently store and persist replication progress in an |
16 | 16 | * efficient and durable manner. |
17 | 17 | * |
18 | 18 | * Replication origin consist out of a descriptive, user defined, external |
|
44 | 44 | * |
45 | 45 | * There are several levels of locking at work: |
46 | 46 | * |
47 | | - * * To create and drop replication origins a exclusive lock on |
| 47 | + * * To create and drop replication origins an exclusive lock on |
48 | 48 | * pg_replication_slot is required for the duration. That allows us to |
49 | 49 | * safely and conflict free assign new origins using a dirty snapshot. |
50 | 50 | * |
51 | | - * * When creating a in-memory replication progress slot the ReplicationOirgin |
| 51 | + * * When creating an in-memory replication progress slot the ReplicationOirgin |
52 | 52 | * LWLock has to be held exclusively; when iterating over the replication |
53 | 53 | * progress a shared lock has to be held, the same when advancing the |
54 | | - * replication progress of a individual backend that has not setup as the |
| 54 | + * replication progress of an individual backend that has not setup as the |
55 | 55 | * session's replication origin. |
56 | 56 | * |
57 | 57 | * * When manipulating or looking at the remote_lsn and local_lsn fields of a |
@@ -251,7 +251,7 @@ replorigin_create(char *roname) |
251 | 251 | * We need the numeric replication origin to be 16bit wide, so we cannot |
252 | 252 | * rely on the normal oid allocation. Instead we simply scan |
253 | 253 | * pg_replication_origin for the first unused id. That's not particularly |
254 | | - * efficient, but this should be an fairly infrequent operation - we can |
| 254 | + * efficient, but this should be a fairly infrequent operation - we can |
255 | 255 | * easily spend a bit more code on this when it turns out it needs to be |
256 | 256 | * faster. |
257 | 257 | * |
@@ -1078,7 +1078,7 @@ replorigin_session_setup(RepOriginId node) |
1078 | 1078 | /* |
1079 | 1079 | * Reset replay state previously setup in this session. |
1080 | 1080 | * |
1081 | | - * This function may only be called if a origin was setup with |
| 1081 | + * This function may only be called if an origin was setup with |
1082 | 1082 | * replorigin_session_setup(). |
1083 | 1083 | */ |
1084 | 1084 | void |
@@ -1121,7 +1121,7 @@ replorigin_session_advance(XLogRecPtr remote_commit, XLogRecPtr local_commit) |
1121 | 1121 |
|
1122 | 1122 | /* |
1123 | 1123 | * Ask the machinery about the point up to which we successfully replayed |
1124 | | - * changes from a already setup replication origin. |
| 1124 | + * changes from an already setup replication origin. |
1125 | 1125 | */ |
1126 | 1126 | XLogRecPtr |
1127 | 1127 | replorigin_session_get_progress(bool flush) |
|
0 commit comments