postgres.git / summary / log / commit / refs
commit 7307988abdff6c948d87e6d9dc9aaaa1f4c5283f
Author: Michael Paquier <michael@paquier.xyz>
Date: Mon May 02 11:16:19 2022 +0000
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);
}
[parent: d89f97e83efe]