]> granicus.if.org Git - postgresql/commit
Refactor other replication commands to use DestRemoteSimple.
authorRobert Haas <rhaas@postgresql.org>
Wed, 1 Feb 2017 18:42:41 +0000 (13:42 -0500)
committerRobert Haas <rhaas@postgresql.org>
Wed, 1 Feb 2017 18:42:41 +0000 (13:42 -0500)
commitbbd8550bce146f86e5e883f1232292a975c314fb
tree6a656f1a6c3d130b36c26e08f4880edd368e287f
parentc3e3844a92fe42109e4106314f7d229f784a7d0a
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
src/backend/access/common/printsimple.c
src/backend/access/common/tupdesc.c
src/backend/replication/walsender.c