pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Refactor other replication commands to use DestRemoteSimple.
Date: Wed, 01 Feb 2017 19:05:12 +0000
Message-ID: <E1cZ0DQ-00018Z-Sm@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1cZ0DQ-00018Z-Sm@gemulon.postgresql.org>
Permalink:  ../E1cZ0DQ-00018Z-Sm@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cZ0DQ-00018Z-Sm@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Refactor other replication commands to use DestRemoteSimple.
  In-Reply-To: <E1cZ0DQ-00018Z-Sm@gemulon.postgresql.org>
  References: <E1cZ0DQ-00018Z-Sm@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox