Skip to content

Commit 55434b3

Browse files
committed
Update comment about read-only mode
(cherry picked from commit 2582fe3)
1 parent 8764c9f commit 55434b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/spock_functions.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1048,10 +1048,10 @@ spock_alter_subscription_resynchronize_table(PG_FUNCTION_ARGS)
10481048
relname = RelationGetRelationName(rel);
10491049

10501050
/*
1051-
* Check that neither the subscriber nor origin is in read-only mode
1052-
* BEFORE modifying sync status or truncating. If either is readonly,
1053-
* the sync will fail. With truncate=true this would cause data loss;
1054-
* without truncate it causes an error loop.
1051+
* Check that the subscriber is in read-only mode BEFORE modifying
1052+
* sync status or truncating. If it is readonly, the sync will fail.
1053+
* With truncate=true this would cause data loss; without truncate
1054+
* it causes an error loop.
10551055
*/
10561056
check_readonly_for_resync(nspname, relname);
10571057

0 commit comments

Comments
 (0)