From 23e7b38bfe396f919fdb66057174d29e17086418 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Thu, 12 May 2022 15:17:30 -0400 Subject: Pre-beta mechanical code beautification. Run pgindent, pgperltidy, and reformat-dat-files. I manually fixed a couple of comments that pgindent uglified. --- src/include/replication/basebackup_target.h | 2 +- src/include/replication/decode.h | 2 +- src/include/replication/slot.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/include/replication') 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); -- cgit v1.2.3