From 7307988abdff6c948d87e6d9dc9aaaa1f4c5283f Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Mon, 2 May 2022 20:16:19 +0900 Subject: [PATCH] basebackup_to_shell: Add missing MarkGUCPrefixReserved() Oversight in c6306db24, as per a requirement from 88103567. All the other modules in the tree, be they in contrib/ or src/test/modules/, already do that. Author: Bharath Rupireddy Discussion: https://postgr.es/m/CALj2ACUy7q_KwSMda+2SHPSWep32tNUM8cXGRS3=-Vfodo9OUg@mail.gmail.com --- 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 f0ddef19870..fd462a8ff4d 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.39.5