Fix a typo in walreceiver.c
Started by Bharath Rupireddyover 3 years ago2 messages
Hi,
Attaching a tiny patch to fix a typo - replace primary_slotname with
correct parameter name primary_slot_name in walreceiver.c code
comments.
Regards,
Bharath Rupireddy.
Attachments:
v1-0001-Replace-primary_slotname-with-primary_slot_name.patchapplication/octet-stream; name=v1-0001-Replace-primary_slotname-with-primary_slot_name.patchDownload
From fca8d33b47c099548455a725eb8d92c97c9321c8 Mon Sep 17 00:00:00 2001
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Date: Tue, 17 May 2022 05:04:49 +0000
Subject: [PATCH v1] Replace primary_slotname with primary_slot_name
---
src/backend/replication/walreceiver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/backend/replication/walreceiver.c b/src/backend/replication/walreceiver.c
index b369d28a80..9452932d59 100644
--- a/src/backend/replication/walreceiver.c
+++ b/src/backend/replication/walreceiver.c
@@ -681,7 +681,7 @@ WalRcvWaitForStartPosition(XLogRecPtr *startpoint, TimeLineID *startpointTLI)
{
/*
* No need to handle changes in primary_conninfo or
- * primary_slotname here. Startup process will signal us to
+ * primary_slot_name here. Startup process will signal us to
* terminate in case those change.
*/
*startpoint = walrcv->receiveStart;
--
2.25.1