From 616ae3d2b0566e91b49f301bf08410a9972fed93 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 31 Mar 2020 15:33:04 +0900 Subject: Move routine definitions of xlogarchive.c to a new header file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/backend/access/transam/xlogarchive.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/backend/access/transam/xlogarchive.c') diff --git a/src/backend/access/transam/xlogarchive.c b/src/backend/access/transam/xlogarchive.c index 914ad340eae..d62c12310a1 100644 --- a/src/backend/access/transam/xlogarchive.c +++ b/src/backend/access/transam/xlogarchive.c @@ -21,6 +21,7 @@ #include "access/xlog.h" #include "access/xlog_internal.h" +#include "access/xlogarchive.h" #include "common/archive.h" #include "miscadmin.h" #include "postmaster/startup.h" -- cgit v1.2.3