Refactoring of replication commands using printsimple

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: PostgreSQL mailing lists <pgsql-hackers(at)postgresql(dot)org>
Subject: Refactoring of replication commands using printsimple
Date: 2017-01-31 05:19:49
Views: Raw Message | Whole Thread | Download mbox
Lists: pgsql-hackers

Hi all,

This is a follow up of the refactoring that has been discussed in the
thread to increase the default size of WAL segments:

The discussion has resulted in the creation of a84069d9 that has
introduced a new DestReceiver method called printsimple that does not
need any catalog access. After some investigation, I have noticed that
a couple of messages used in the replication protocol could be
refactored as well:
This results in the following code reduction:
3 files changed, 115 insertions(+), 162 deletions(-)

A commit fest entry has been created:


Attachment Content-Type Size
refactor-repl-cmd-output-v3.patch application/octet-stream 11.8 KB


Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-01-31 05:20:48 Re: amcheck (B-Tree integrity checking tool)
Previous Message Peter Geoghegan 2017-01-31 05:15:45 Re: Parallel tuplesort (for parallel B-Tree index creation)