pgsql: Refactor to make common functions in proto.c and worker.c.

Поиск
Список
Период
Сортировка
От Amit Kapila
Тема pgsql: Refactor to make common functions in proto.c and worker.c.
Дата
Msg-id E1m93JH-0005I4-6N@gemulon.postgresql.org
обсуждение исходный текст
Список 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

Details
-------
https://git.postgresql.org/pg/commitdiff/91f9861242cd7dcf28fae216b1d8b47551c9159d

Modified Files
--------------
src/backend/replication/logical/proto.c  |  42 ++++++++++---
src/backend/replication/logical/worker.c | 101 +++++++++++++++++++------------
2 files changed, 95 insertions(+), 48 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: Remove unused directory from test/ssl .gitignore
Следующее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Avoid calling TestLib::perl2host on a symlinked directory