Refactor replication origin state reset helpers - Mailing list pgsql-hackers

From Chao Li
Subject Refactor replication origin state reset helpers
Date
Msg-id CAEoWx2=pYvfRthXHTzSrOsf5_FfyY4zJyK4zV2v4W=yjUij1cA@mail.gmail.com
Whole thread Raw
Responses Re: Refactor replication origin state reset helpers
List pgsql-hackers
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.


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




Attachment

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Improve documentation of publication privilege checks
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCH] Fix typo in psql \copy command documentation