Improve includes introduced in the replication origins patch.
Andres Freund <andres@anarazel.de>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_resetxlog/pg_resetxlog.c | modified | +0 −2 |
| src/bin/pg_xlogdump/rmgrdesc.c | modified | +1 −0 |
| src/include/replication/origin.h | modified | +3 −1 |