summaryrefslogtreecommitdiff
path: root/src/include/replication
diff options
context:
space:
mode:
authorAndres Freund2019-07-31 07:05:21 +0000
committerAndres Freund2019-07-31 07:05:21 +0000
commit870b1d6800cc2173ab672449047efbc30bdc1b57 (patch)
treecf6bab07ba9dd6dc021caf00bf6f3264fd486103 /src/include/replication
parent6384e87be28ee8d69ef11e49413b115506a3c6d3 (diff)
Remove superfluous newlines in function prototypes.
These were introduced by pgindent due to fixe to broken indentation (c.f. 8255c7a5eeba8). Previously the mis-indentation of function prototypes was creatively used to reduce indentation in a few places. As that formatting only exists in master and REL_12_STABLE, it seems better to fix it in both, rather than having some odd indentation in v12 that somebody might copy for future patches or such. Author: Andres Freund Discussion: https://postgr.es/m/20190728013754.jwcbe5nfyt3533vx@alap3.anarazel.de Backpatch: 12-
Diffstat (limited to 'src/include/replication')
-rw-r--r--src/include/replication/logical.h9
-rw-r--r--src/include/replication/reorderbuffer.h15
2 files changed, 8 insertions, 16 deletions
diff --git a/src/include/replication/logical.h b/src/include/replication/logical.h
index f76b9eb4df4..31c796b7651 100644
--- a/src/include/replication/logical.h
+++ b/src/include/replication/logical.h
@@ -17,8 +17,7 @@
struct LogicalDecodingContext;
-typedef void (*LogicalOutputPluginWriterWrite) (
- struct LogicalDecodingContext *lr,
+typedef void (*LogicalOutputPluginWriterWrite) (struct LogicalDecodingContext *lr,
XLogRecPtr Ptr,
TransactionId xid,
bool last_write
@@ -26,8 +25,7 @@ typedef void (*LogicalOutputPluginWriterWrite) (
typedef LogicalOutputPluginWriterWrite LogicalOutputPluginWriterPrepareWrite;
-typedef void (*LogicalOutputPluginWriterUpdateProgress) (
- struct LogicalDecodingContext *lr,
+typedef void (*LogicalOutputPluginWriterUpdateProgress) (struct LogicalDecodingContext *lr,
XLogRecPtr Ptr,
TransactionId xid
);
@@ -102,8 +100,7 @@ extern LogicalDecodingContext *CreateInitDecodingContext(char *plugin,
LogicalOutputPluginWriterPrepareWrite prepare_write,
LogicalOutputPluginWriterWrite do_write,
LogicalOutputPluginWriterUpdateProgress update_progress);
-extern LogicalDecodingContext *CreateDecodingContext(
- XLogRecPtr start_lsn,
+extern LogicalDecodingContext *CreateDecodingContext(XLogRecPtr start_lsn,
List *output_plugin_options,
bool fast_forward,
XLogPageReadCB read_page,
diff --git a/src/include/replication/reorderbuffer.h b/src/include/replication/reorderbuffer.h
index 735e6d32b86..4c06a78c11f 100644
--- a/src/include/replication/reorderbuffer.h
+++ b/src/include/replication/reorderbuffer.h
@@ -292,34 +292,29 @@ typedef struct ReorderBufferTXN
typedef struct ReorderBuffer ReorderBuffer;
/* change callback signature */
-typedef void (*ReorderBufferApplyChangeCB) (
- ReorderBuffer *rb,
+typedef void (*ReorderBufferApplyChangeCB) (ReorderBuffer *rb,
ReorderBufferTXN *txn,
Relation relation,
ReorderBufferChange *change);
/* truncate callback signature */
-typedef void (*ReorderBufferApplyTruncateCB) (
- ReorderBuffer *rb,
+typedef void (*ReorderBufferApplyTruncateCB) (ReorderBuffer *rb,
ReorderBufferTXN *txn,
int nrelations,
Relation relations[],
ReorderBufferChange *change);
/* begin callback signature */
-typedef void (*ReorderBufferBeginCB) (
- ReorderBuffer *rb,
+typedef void (*ReorderBufferBeginCB) (ReorderBuffer *rb,
ReorderBufferTXN *txn);
/* commit callback signature */
-typedef void (*ReorderBufferCommitCB) (
- ReorderBuffer *rb,
+typedef void (*ReorderBufferCommitCB) (ReorderBuffer *rb,
ReorderBufferTXN *txn,
XLogRecPtr commit_lsn);
/* message callback signature */
-typedef void (*ReorderBufferMessageCB) (
- ReorderBuffer *rb,
+typedef void (*ReorderBufferMessageCB) (ReorderBuffer *rb,
ReorderBufferTXN *txn,
XLogRecPtr message_lsn,
bool transactional,