summaryrefslogtreecommitdiff
path: root/src/include/replication
diff options
context:
space:
mode:
authorTom Lane2018-04-26 18:47:16 +0000
committerTom Lane2018-04-26 18:47:16 +0000
commitbdf46af748d0f15f257c99bf06e9e25aba6a24f9 (patch)
tree3637d69ad413fdc23098cc2cf94b2cd57fd44dab /src/include/replication
parentf83bf385c1dad4964e0d899174989a1668536182 (diff)
Post-feature-freeze pgindent run.
Discussion: https://postgr.es/m/15719.1523984266@sss.pgh.pa.us
Diffstat (limited to 'src/include/replication')
-rw-r--r--src/include/replication/logical.h6
-rw-r--r--src/include/replication/logicalproto.h4
-rw-r--r--src/include/replication/reorderbuffer.h6
-rw-r--r--src/include/replication/walreceiver.h8
4 files changed, 12 insertions, 12 deletions
diff --git a/src/include/replication/logical.h b/src/include/replication/logical.h
index 619c5f4d73..c25ac1fa85 100644
--- a/src/include/replication/logical.h
+++ b/src/include/replication/logical.h
@@ -46,11 +46,11 @@ typedef struct LogicalDecodingContext
struct SnapBuild *snapshot_builder;
/*
- * Marks the logical decoding context as fast forward decoding one.
- * Such a context does not have plugin loaded so most of the the following
+ * Marks the logical decoding context as fast forward decoding one. Such a
+ * context does not have plugin loaded so most of the the following
* properties are unused.
*/
- bool fast_forward;
+ bool fast_forward;
OutputPluginCallbacks callbacks;
OutputPluginOptions options;
diff --git a/src/include/replication/logicalproto.h b/src/include/replication/logicalproto.h
index 92e88d3127..8192f79ce3 100644
--- a/src/include/replication/logicalproto.h
+++ b/src/include/replication/logicalproto.h
@@ -98,9 +98,9 @@ extern void logicalrep_write_delete(StringInfo out, Relation rel,
extern LogicalRepRelId logicalrep_read_delete(StringInfo in,
LogicalRepTupleData *oldtup);
extern void logicalrep_write_truncate(StringInfo out, int nrelids, Oid relids[],
- bool cascade, bool restart_seqs);
+ bool cascade, bool restart_seqs);
extern List *logicalrep_read_truncate(StringInfo in,
- bool *cascade, bool *restart_seqs);
+ bool *cascade, bool *restart_seqs);
extern void logicalrep_write_rel(StringInfo out, Relation rel);
extern LogicalRepRelation *logicalrep_read_rel(StringInfo in);
extern void logicalrep_write_typ(StringInfo out, Oid typoid);
diff --git a/src/include/replication/reorderbuffer.h b/src/include/replication/reorderbuffer.h
index 3867ce8950..1c7982958e 100644
--- a/src/include/replication/reorderbuffer.h
+++ b/src/include/replication/reorderbuffer.h
@@ -101,8 +101,8 @@ typedef struct ReorderBufferChange
} tp;
/*
- * Truncate data for REORDER_BUFFER_CHANGE_TRUNCATE representing
- * one set of relations to be truncated.
+ * Truncate data for REORDER_BUFFER_CHANGE_TRUNCATE representing one
+ * set of relations to be truncated.
*/
struct
{
@@ -110,7 +110,7 @@ typedef struct ReorderBufferChange
bool cascade;
bool restart_seqs;
Oid *relids;
- } truncate;
+ } truncate;
/* Message with arbitrary data. */
struct
diff --git a/src/include/replication/walreceiver.h b/src/include/replication/walreceiver.h
index 76268ceb23..5913b580c2 100644
--- a/src/include/replication/walreceiver.h
+++ b/src/include/replication/walreceiver.h
@@ -110,8 +110,8 @@ typedef struct
char conninfo[MAXCONNINFO];
/*
- * Host name (this can be a host name, an IP address, or a directory
- * path) and port number of the active replication connection.
+ * Host name (this can be a host name, an IP address, or a directory path)
+ * and port number of the active replication connection.
*/
char sender_host[NI_MAXHOST];
int sender_port;
@@ -206,8 +206,8 @@ typedef WalReceiverConn *(*walrcv_connect_fn) (const char *conninfo, bool logica
typedef void (*walrcv_check_conninfo_fn) (const char *conninfo);
typedef char *(*walrcv_get_conninfo_fn) (WalReceiverConn *conn);
typedef void (*walrcv_get_senderinfo_fn) (WalReceiverConn *conn,
- char **sender_host,
- int *sender_port);
+ char **sender_host,
+ int *sender_port);
typedef char *(*walrcv_identify_system_fn) (WalReceiverConn *conn,
TimeLineID *primary_tli,
int *server_version);