Commit 3a145757 authored by Andres Freund's avatar Andres Freund

Improve includes introduced in the replication origins patch.

pg_resetxlog.h contained two superfluous includes, origin.h superfluously
depended on logical.h, and pg_xlogdump's rmgrdesc.h only indirectly
included origin.h.

Backpatch: 9.5, where replication origins were introduced.
parent e641d7b2
......@@ -56,8 +56,6 @@
#include "common/restricted_token.h"
#include "storage/large_object.h"
#include "pg_getopt.h"
#include "replication/logical.h"
#include "replication/origin.h"
static ControlFileData ControlFile; /* pg_control values */
......
......@@ -25,6 +25,7 @@
#include "commands/dbcommands_xlog.h"
#include "commands/sequence.h"
#include "commands/tablespace.h"
#include "replication/origin.h"
#include "rmgrdesc.h"
#include "storage/standby.h"
#include "utils/relmapper.h"
......
......@@ -10,9 +10,11 @@
#ifndef PG_ORIGIN_H
#define PG_ORIGIN_H
#include "fmgr.h"
#include "access/xlog.h"
#include "access/xlogdefs.h"
#include "access/xlogreader.h"
#include "catalog/pg_replication_origin.h"
#include "replication/logical.h"
typedef struct xl_replorigin_set
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment