]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Refactor to make common functions in proto.c and worker.c.
authorAmit Kapila <akapila@postgresql.org>
Thu, 29 Jul 2021 10:21:45 +0000 (15:51 +0530)
committerAmit Kapila <akapila@postgresql.org>
Thu, 29 Jul 2021 10:21:45 +0000 (15:51 +0530)
commit91f9861242cd7dcf28fae216b1d8b47551c9159d
tree20c15db5314a5809714068b84b172453131e81e6
parent454ae15d10ea2d11669b69e82c98fbd03126fd69
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
src/backend/replication/logical/proto.c
src/backend/replication/logical/worker.c