pgsql: Avoid calling proc_exit() in processes forked by system().

2023-10-17 Thread Nathan Bossart
Avoid calling proc_exit() in processes forked by system(). The SIGTERM handler for the startup process immediately calls proc_exit() for the duration of the restore_command, i.e., a call to system(). This system() call forks a new process to execute the shell command, and this child process inher

pgsql: Avoid calling proc_exit() in processes forked by system().

2023-10-17 Thread Nathan Bossart
Avoid calling proc_exit() in processes forked by system(). The SIGTERM handler for the startup process immediately calls proc_exit() for the duration of the restore_command, i.e., a call to system(). This system() call forks a new process to execute the shell command, and this child process inher

pgsql: Avoid calling proc_exit() in processes forked by system().

2023-10-17 Thread Nathan Bossart
Avoid calling proc_exit() in processes forked by system(). The SIGTERM handler for the startup process immediately calls proc_exit() for the duration of the restore_command, i.e., a call to system(). This system() call forks a new process to execute the shell command, and this child process inher

pgsql: Avoid calling proc_exit() in processes forked by system().

2023-10-17 Thread Nathan Bossart
Avoid calling proc_exit() in processes forked by system(). The SIGTERM handler for the startup process immediately calls proc_exit() for the duration of the restore_command, i.e., a call to system(). This system() call forks a new process to execute the shell command, and this child process inher

pgsql: Avoid calling proc_exit() in processes forked by system().

2023-10-17 Thread Nathan Bossart
Avoid calling proc_exit() in processes forked by system(). The SIGTERM handler for the startup process immediately calls proc_exit() for the duration of the restore_command, i.e., a call to system(). This system() call forks a new process to execute the shell command, and this child process inher

pgsql: Avoid calling proc_exit() in processes forked by system().

2023-10-17 Thread Nathan Bossart
Avoid calling proc_exit() in processes forked by system(). The SIGTERM handler for the startup process immediately calls proc_exit() for the duration of the restore_command, i.e., a call to system(). This system() call forks a new process to execute the shell command, and this child process inher

pgsql: Avoid calling proc_exit() in processes forked by system().

2023-10-17 Thread Nathan Bossart
Avoid calling proc_exit() in processes forked by system(). The SIGTERM handler for the startup process immediately calls proc_exit() for the duration of the restore_command, i.e., a call to system(). This system() call forks a new process to execute the shell command, and this child process inher