1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

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.
This commit is contained in:
Andres Freund
2015-08-06 12:38:35 +02:00
parent e641d7b22f
commit 3a145757a0
3 changed files with 4 additions and 3 deletions

View File

@@ -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
{