Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b15b7b commit 2baaf7cCopy full SHA for 2baaf7c
testgres/plugins/pg_probackup2/pg_probackup2/app.py
@@ -663,7 +663,11 @@ def set_archiving(
663
if custom_archive_command is None:
664
archive_command = " ".join([f'"{init_params.probackup_path}"',
665
'archive-push', *self.backup_dir.pb_args])
666
- if os.name == "nt":
+ if os.name == 'posix':
667
+ # Dash produces a core dump when it gets a SIGQUIT from its
668
+ # child process so replace the shell with pg_probackup
669
+ archive_command = 'exec ' + archive_command
670
+ elif os.name == "nt":
671
archive_command = archive_command.replace("\\", "\\\\")
672
archive_command += f' --instance={instance}'
673
0 commit comments