From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Refactor other replication commands to use DestRemoteSimple. |
Date: | 2017-02-01 19:05:12 |
Message-ID: | E1cZ0DQ-00018Z-Sm@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Refactor other replication commands to use DestRemoteSimple.
Commit a84069d9350400c860d5e932b50dfd337aa407b0 added a new type of
DestReceiver to avoid duplicating the existing code for the SHOW
command, but it turns out we can leverage that new DestReceiver
type in a few more places, saving some code.
Michael Paquier, reviewed by Andres Freund and by me.
Discussion: http://postgr.es/m/CAB7nPqSdFOQC0evc0r1nJeQyGBqjBrR41MC4rcMqUUpoJaZbtQ%40mail.gmail.com
Discussion: http://postgr.es/m/CAB7nPqT2K4XFT1JgqufFBjsOc-NUKXg5qBDucHPMbk6Xi1kYaA@mail.gmail.com
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/bbd8550bce146f86e5e883f1232292a975c314fb
Modified Files
--------------
src/backend/access/common/printsimple.c | 21 +++
src/backend/access/common/tupdesc.c | 8 ++
src/backend/replication/walsender.c | 247 +++++++++++---------------------
3 files changed, 114 insertions(+), 162 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2017-02-01 21:13:38 | pgsql: Provide CatalogTupleDelete() as a wrapper around simple_heap_del |
Previous Message | Andres Freund | 2017-02-01 18:08:50 | Re: [COMMITTERS] pgsql: Make psql's \set display variables in alphabetical order. |