pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Move routine definitions of xlogarchive.c to a new header file
Date: Tue, 31 Mar 2020 06:34:22 +0000
Message-ID: <E1jJATe-0007Op-NZ@gemulon.postgresql.org> (raw)

Move routine definitions of xlogarchive.c to a new header file

The definitions of the routines defined in xlogarchive.c have been part
of xlog_internal.h which is included by several frontend tools, but all
those routines are only called by the backend.  More cleanup could be
done within xlog_internal.h, but that's already a nice cut.

This will help a follow-up patch for pg_rewind where handling of
restore_command is added for frontends.

Author: Alexey Kondratov, Michael Paquier
Reviewed-by: Álvaro Herrera, Alexander Korotkov
Discussion: https://postgr.es/m/a3acff50-5a0d-9a2c-b3b2-ee36168955c1@postgrespro.ru

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/616ae3d2b0566e91b49f301bf08410a9972fed93

Modified Files
--------------
src/backend/access/transam/timeline.c    |  1 +
src/backend/access/transam/xlog.c        |  1 +
src/backend/access/transam/xlogarchive.c |  1 +
src/backend/replication/walreceiver.c    |  1 +
src/include/access/xlog_internal.h       | 18 ----------------
src/include/access/xlogarchive.h         | 35 ++++++++++++++++++++++++++++++++
6 files changed, 39 insertions(+), 18 deletions(-)



Message-ID: <E1jJATe-0007Op-NZ@gemulon.postgresql.org>
Permalink:  ../E1jJATe-0007Op-NZ@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1jJATe-0007Op-NZ@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: michael@paquier.xyz
  Subject: Re: pgsql: Move routine definitions of xlogarchive.c to a new header file
  In-Reply-To: <E1jJATe-0007Op-NZ@gemulon.postgresql.org>
  References: <E1jJATe-0007Op-NZ@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