From: | Amit Kapila <akapila(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Refactor to make common functions in proto.c and worker.c. |
Date: | 2021-07-29 10:30:39 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Refactor to make common functions in proto.c and worker.c.
This is a non-functional change only to refactor code to extract some
replication logic into static functions.
This is done as preparation for the 2PC streaming patch which also shares
this common logic.
Author: Peter Smith
Reviewed-By: Amit Kapila
Discussion: https://postgr.es/m/CAHut+PuiSA8AiLcE2N5StzSKs46SQEP_vDOUD5fX2XCVtfZ7mQ@mail.gmail.com
Branch
------
master
Modified Files
--------------
src/backend/replication/logical/proto.c | 42 ++++++++++---
src/backend/replication/logical/worker.c | 101 +++++++++++++++++++------------
2 files changed, 95 insertions(+), 48 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2021-07-29 16:18:28 | pgsql: Make TestLib::perl2host more consistent and robust |
Previous Message | Daniel Gustafsson | 2021-07-29 10:09:39 | pgsql: Remove unused directory from test/ssl .gitignore |