Hi Hacker,

While reviewing patches [1] and [2], I noticed some duplicate code of
clearing replication origin states, I am proposing a small patch that
removes the duplicate code blocks by introducing a couple helper
functions. No functional change at all.

[1]
https://postgr.es/m/ty4pr01mb169078771fb31b395ab496a6b94...@ty4pr01mb16907.jpnprd01.prod.outlook.com
[2] https://postgr.es/m/[email protected]

Best regards,
--
Chao Li (Evan)
HighGo Software Co., Ltd.
https://www.highgo.com/

Attachment: v1-0001-Refactor-replication-origin-state-reset-helpers.patch
Description: Binary data

Reply via email to