From 3f2a70ffbd07785b43aa22f6d0cded3b0de8bd06 Mon Sep 17 00:00:00 2001
From: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Date: Mon, 2 May 2022 09:30:02 +0000
Subject: [PATCH v1] Add missing MarkGUCPrefixReserved() in basebackup_to_shell
 module

---
 contrib/basebackup_to_shell/basebackup_to_shell.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/contrib/basebackup_to_shell/basebackup_to_shell.c b/contrib/basebackup_to_shell/basebackup_to_shell.c
index f0ddef1987..fd462a8ff4 100644
--- a/contrib/basebackup_to_shell/basebackup_to_shell.c
+++ b/contrib/basebackup_to_shell/basebackup_to_shell.c
@@ -86,6 +86,8 @@ _PG_init(void)
 							   0,
 							   NULL, NULL, NULL);
 
+	MarkGUCPrefixReserved("basebackup_to_shell");
+
 	BaseBackupAddTarget("shell", shell_check_detail, shell_get_sink);
 }
 
-- 
2.25.1

