summaryrefslogtreecommitdiff
path: root/src/include/replication
diff options
context:
space:
mode:
authorTom Lane2022-05-12 19:17:30 +0000
committerTom Lane2022-05-12 19:17:30 +0000
commit23e7b38bfe396f919fdb66057174d29e17086418 (patch)
tree335c3962ef8afe0f6193d0413dbc51642276b147 /src/include/replication
parent93909599cdba64c8759d646983c0a4ef93de1e50 (diff)
Pre-beta mechanical code beautification.
Run pgindent, pgperltidy, and reformat-dat-files. I manually fixed a couple of comments that pgindent uglified.
Diffstat (limited to 'src/include/replication')
-rw-r--r--src/include/replication/basebackup_target.h2
-rw-r--r--src/include/replication/decode.h2
-rw-r--r--src/include/replication/slot.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/include/replication/basebackup_target.h b/src/include/replication/basebackup_target.h
index e23ac29a89d..1cf3c0777dc 100644
--- a/src/include/replication/basebackup_target.h
+++ b/src/include/replication/basebackup_target.h
@@ -42,7 +42,7 @@ typedef struct BaseBackupTargetHandle BaseBackupTargetHandle;
*/
extern void BaseBackupAddTarget(char *name,
void *(*check_detail) (char *, char *),
- bbsink * (*get_sink) (bbsink *, void *));
+ bbsink *(*get_sink) (bbsink *, void *));
/*
* These functions are used by the core code to access base backup targets
diff --git a/src/include/replication/decode.h b/src/include/replication/decode.h
index a33c2a718a7..741bf65cf7a 100644
--- a/src/include/replication/decode.h
+++ b/src/include/replication/decode.h
@@ -28,7 +28,7 @@ extern void xact_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf);
extern void standby_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf);
extern void logicalmsg_decode(LogicalDecodingContext *ctx, XLogRecordBuffer *buf);
-extern void LogicalDecodingProcessRecord(LogicalDecodingContext *ctx,
+extern void LogicalDecodingProcessRecord(LogicalDecodingContext *ctx,
XLogReaderState *record);
#endif
diff --git a/src/include/replication/slot.h b/src/include/replication/slot.h
index 1ee63c4cf44..8c9f3321d50 100644
--- a/src/include/replication/slot.h
+++ b/src/include/replication/slot.h
@@ -216,7 +216,7 @@ extern bool ReplicationSlotsCountDBSlots(Oid dboid, int *nslots, int *nactive);
extern void ReplicationSlotsDropDBSlots(Oid dboid);
extern bool InvalidateObsoleteReplicationSlots(XLogSegNo oldestSegno);
extern ReplicationSlot *SearchNamedReplicationSlot(const char *name, bool need_lock);
-extern int ReplicationSlotIndex(ReplicationSlot *slot);
+extern int ReplicationSlotIndex(ReplicationSlot *slot);
extern void ReplicationSlotNameForTablesync(Oid suboid, Oid relid, char *syncslotname, int szslot);
extern void ReplicationSlotDropAtPubNode(WalReceiverConn *wrconn, char *slotname, bool missing_ok);