aboutsummaryrefslogtreecommitdiff
path: root/src/backend/replication
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/replication')
-rw-r--r--src/backend/replication/logical/reorderbuffer.c2
-rw-r--r--src/backend/replication/slot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c
index c29894041e4..20c9cd139ab 100644
--- a/src/backend/replication/logical/reorderbuffer.c
+++ b/src/backend/replication/logical/reorderbuffer.c
@@ -3084,7 +3084,7 @@ ReorderBufferSetBaseSnapshot(ReorderBuffer *rb, TransactionId xid,
ReorderBufferTXN *txn;
bool is_new;
- AssertArg(snap != NULL);
+ Assert(snap != NULL);
/*
* Fetch the transaction to operate on. If we know it's a subtransaction,
diff --git a/src/backend/replication/slot.c b/src/backend/replication/slot.c
index b514a4d97c5..c036a2c37b6 100644
--- a/src/backend/replication/slot.c
+++ b/src/backend/replication/slot.c
@@ -452,7 +452,7 @@ ReplicationSlotAcquire(const char *name, bool nowait)
ReplicationSlot *s;
int active_pid;
- AssertArg(name != NULL);
+ Assert(name != NULL);
retry:
Assert(MyReplicationSlot == NULL);