diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-05-02 20:16:19 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-05-02 20:16:19 +0900 |
commit | 7307988abdff6c948d87e6d9dc9aaaa1f4c5283f (patch) | |
tree | a482a7458808185416abba0fd03d929a0c3317c6 /contrib/basebackup_to_shell/basebackup_to_shell.c | |
parent | d89f97e83efed4b2ac0a1803a1b6813c8277de73 (diff) | |
download | postgresql-7307988abdff6c948d87e6d9dc9aaaa1f4c5283f.tar.gz postgresql-7307988abdff6c948d87e6d9dc9aaaa1f4c5283f.zip |
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
Diffstat (limited to 'contrib/basebackup_to_shell/basebackup_to_shell.c')
-rw-r--r-- | contrib/basebackup_to_shell/basebackup_to_shell.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |