Re: Typo in tablesync comment
От | Euler Taveira |
---|---|
Тема | Re: Typo in tablesync comment |
Дата | |
Msg-id | 9f7e3001-7154-4b71-b78e-5512fc8c79ab@www.fastmail.com обсуждение исходный текст |
Ответ на | Re: Typo in tablesync comment (Michael Paquier <michael@paquier.xyz>) |
Список | pgsql-hackers |
On Tue, Feb 2, 2021, at 2:19 AM, Michael Paquier wrote:
On Tue, Feb 02, 2021 at 10:38:31AM +1100, Peter Smith wrote:> PSA a trivial patch to correct what seems like a typo in the tablesync comment.- * subscribed tables and their state. Some transient state during data- * synchronization is kept in shared memory. The states SYNCWAIT and+ * subscribed tables and their state. Some transient states during data+ * synchronization are kept in shared memory. The states SYNCWAIT andThis stuff refers to SUBREL_STATE_* in pg_subscription_rel.h, and FWIWI find confusing the term "transient" in this context as a state maylast for a rather long time, depending on the time it takes tosynchronize the relation, no? I am wondering if we could do betterhere, say:"The state tracking the progress of the relation synchronization isadditionally stored in shared memory, with SYNCWAIT and CATCHUP onlyappearing in memory."
WFM.
--
Euler Taveira
В списке pgsql-hackers по дате отправления: