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) |
Definition at line 111 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 92 of file wait_error.c.
References WEXITSTATUS, WIFEXITED, WIFSIGNALED, and WTERMSIG.
Referenced by ClosePipeFromProgram(), and RestoreArchivedFile().
char* wait_result_to_str | ( | int | exitstatus | ) |
Definition at line 32 of file wait_error.c.
References _, pg_strsignal(), pstrdup(), snprintf, generate_unaccent_rules::str, WEXITSTATUS, WIFEXITED, WIFSIGNALED, and WTERMSIG.
Referenced by BaseBackup(), ClosePipeFromProgram(), ClosePipeToProgram(), do_copy(), ExecuteRecoveryCommand(), pclose_check(), RestoreArchivedFile(), run_ssl_passphrase_command(), and shell_finish_command().