diff options
| author | Amit Kapila | 2019-11-25 02:38:57 +0000 |
|---|---|---|
| committer | Amit Kapila | 2019-11-25 02:38:57 +0000 |
| commit | e0487223ecac9cbb7f673e4ff6d2e4086e591abf (patch) | |
| tree | 31eda4c126c75e7915b451cbbfb739984b68c9be /src/include/replication | |
| parent | 2aa84520b3508dda273b9bbffab7bf87f0d98bf8 (diff) | |
Make the order of the header file includes consistent.
Similar to commits 14aec03502, 7e735035f2 and dddf4cdc33, this commit
makes the order of header file inclusion consistent in more places.
Author: Vignesh C
Reviewed-by: Amit Kapila
Discussion: https://postgr.es/m/CALDaNm2Sznv8RR6Ex-iJO6xAdsxgWhCoETkaYX=+9DW3q0QCfA@mail.gmail.com
Diffstat (limited to 'src/include/replication')
| -rw-r--r-- | src/include/replication/decode.h | 2 | ||||
| -rw-r--r-- | src/include/replication/logical.h | 3 | ||||
| -rw-r--r-- | src/include/replication/walreceiver.h | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/include/replication/decode.h b/src/include/replication/decode.h index 89689a010b2..3f877244e1a 100644 --- a/src/include/replication/decode.h +++ b/src/include/replication/decode.h @@ -11,8 +11,8 @@ #include "access/xlogreader.h" #include "access/xlogrecord.h" -#include "replication/reorderbuffer.h" #include "replication/logical.h" +#include "replication/reorderbuffer.h" void LogicalDecodingProcessRecord(LogicalDecodingContext *ctx, XLogReaderState *record); diff --git a/src/include/replication/logical.h b/src/include/replication/logical.h index 31c796b7651..6879a2e6d29 100644 --- a/src/include/replication/logical.h +++ b/src/include/replication/logical.h @@ -9,11 +9,10 @@ #ifndef LOGICAL_H #define LOGICAL_H -#include "replication/slot.h" - #include "access/xlog.h" #include "access/xlogreader.h" #include "replication/output_plugin.h" +#include "replication/slot.h" struct LogicalDecodingContext; diff --git a/src/include/replication/walreceiver.h b/src/include/replication/walreceiver.h index e12a9349660..41714eaf0ce 100644 --- a/src/include/replication/walreceiver.h +++ b/src/include/replication/walreceiver.h @@ -15,11 +15,11 @@ #include "access/xlog.h" #include "access/xlogdefs.h" #include "getaddrinfo.h" /* for NI_MAXHOST */ +#include "pgtime.h" #include "replication/logicalproto.h" #include "replication/walsender.h" #include "storage/latch.h" #include "storage/spin.h" -#include "pgtime.h" #include "utils/tuplestore.h" /* user-settable parameters */ |
