aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication/logical/tablesync.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-02-04 16:02:31 +0900
committerMichael Paquier <michael@paquier.xyz>2021-02-04 16:02:31 +0900
commitfc749bc7041cb77b5f6b58c129ad2616a3f7ab4f (patch)
treebfd1d802255a5a4a6c074b0bedb10cd0f6165a3b /src/backend/replication/logical/tablesync.c
parentc5b286047cd698021e57a527215b48865fd4ad4e (diff)
downloadpostgresql-fc749bc7041cb77b5f6b58c129ad2616a3f7ab4f.tar.gz
postgresql-fc749bc7041cb77b5f6b58c129ad2616a3f7ab4f.zip
Clarify comment in tablesync.c
Author: Peter Smith Reviewed-by: Amit Kapila, Michael Paquier, Euler Taveira Discussion: https://postgr.es/m/CAHut+Pt9_T6pWar0FLtPsygNmme8HPWPdGUyZ_8mE1Yvjdf0ZA@mail.gmail.com
Diffstat (limited to 'src/backend/replication/logical/tablesync.c')
-rw-r--r--src/backend/replication/logical/tablesync.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/backend/replication/logical/tablesync.c b/src/backend/replication/logical/tablesync.c
index a18f847ade0..ccbdbcf08f9 100644
--- a/src/backend/replication/logical/tablesync.c
+++ b/src/backend/replication/logical/tablesync.c
@@ -52,9 +52,8 @@
* CATCHUP -> SYNCDONE -> READY.
*
* The catalog pg_subscription_rel is used to keep information about
- * subscribed tables and their state. Some transient state during data
- * synchronization is kept in shared memory. The states SYNCWAIT and
- * CATCHUP only appear in memory.
+ * subscribed tables and their state. The catalog holds all states
+ * except SYNCWAIT and CATCHUP which are only in shared memory.
*
* Example flows look like this:
* - Apply is in front: