PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
char * | wait_result_to_str (int exitstatus) |
bool | wait_result_is_signal (int exit_status, int signum) |
bool | wait_result_is_any_signal (int exit_status, bool include_command_not_found) |
int | wait_result_to_exit_code (int exit_status) |
Definition at line 121 of file wait_error.c.
References WEXITSTATUS, WIFEXITED, and WIFSIGNALED.
Referenced by ExecuteRecoveryCommand(), RestoreArchivedFile(), and shell_archive_file().
bool wait_result_is_signal | ( | int | exit_status, |
int | signum | ||
) |
Definition at line 102 of file wait_error.c.
References WEXITSTATUS, WIFEXITED, WIFSIGNALED, and WTERMSIG.
Referenced by ClosePipeFromProgram(), and RestoreArchivedFile().
int wait_result_to_exit_code | ( | int | exit_status | ) |
Definition at line 138 of file wait_error.c.
References WEXITSTATUS, WIFEXITED, WIFSIGNALED, and WTERMSIG.
Referenced by SetShellResultVariables().
char* wait_result_to_str | ( | int | exitstatus | ) |
Definition at line 33 of file wait_error.c.
References _, pg_strsignal(), pstrdup(), snprintf, str, WEXITSTATUS, WIFEXITED, WIFSIGNALED, and WTERMSIG.
Referenced by adjust_data_dir(), BaseBackup(), ClosePipeFromProgram(), ClosePipeToProgram(), do_copy(), exec_command_write(), ExecuteRecoveryCommand(), get_bin_version(), get_control_data(), modify_subscriber_sysid(), pclose_check(), RestoreArchivedFile(), run_ssl_passphrase_command(), and shell_finish_command().