Go to the source code of this file.
Definition at line 55 of file bsearch_arg.c.
References arg, cmp(), and sort-test::key.
Referenced by AssertCheckRanges(), range_contains_value(), statext_mcv_build(), and statext_mcv_serialize().
Definition at line 337 of file path.c.
References canonicalize_path_enc(), and PG_SQL_ASCII.
Referenced by AbsoluteConfigLocation(), add_tablespace_mapping(), adjust_data_dir(), check_canonical_path(), check_required_directory(), convert_and_check_filename(), create_script_for_old_cluster_deletion(), create_xlog_or_symlink(), CreateTableSpace(), find_in_path(), find_in_paths(), find_my_exec(), find_other_exec(), get_extension_control_directories(), get_tablespace_mapping(), GetConfFilesInDir(), main(), make_absolute_path(), make_relative_path(), member_verify_header(), normalize_exec_path(), parseCommandLine(), scan_for_existing_tablespaces(), setup(), setup_bin_paths(), setup_pgdata(), SplitDirectoriesString(), tablespace_list_append(), and test_canonicalize_path().
Definition at line 344 of file path.c.
References ABSOLUTE_PATH_INIT, ABSOLUTE_WITH_N_DEPTH, append_subdir_to_path(), Assert(), encoding, RELATIVE_PATH_INIT, RELATIVE_WITH_N_DEPTH, RELATIVE_WITH_PARENT_REF, skip_drive, trim_directory(), and trim_trailing_separator().
Referenced by canonicalize_path(), do_copy(), exec_command_edit(), exec_command_write(), and process_file().
Definition at line 258 of file path.c.
References MAXPGPATH, and PG_SQL_ASCII.
Referenced by get_configdata().
Definition at line 33 of file quotes.c.
References i, j, len, malloc, and SQL_STR_DOUBLE.
Referenced by escape_quotes(), and write_auto_conf_file().
Definition at line 52 of file explicit_bzero.c.
References buf, bzero_p, and len.
Referenced by freePGconn(), oauth_exchange(), passwordFromFile(), pg_cryptohash_create(), pg_cryptohash_free(), pg_hmac_create(), pg_hmac_free(), pqClearOAuthToken(), pqReleaseConnHosts(), and run_ssl_passphrase_command().
Definition at line 161 of file exec.c.
References _, argv0, canonicalize_path(), errcode(), first_dir_separator(), first_path_var_separator(), join_path_components(), log_error, MAXPGPATH, Min, normalize_exec_path(), strlcpy(), and validate_exec().
Referenced by ensureCleanShutdown(), find_other_exec(), find_other_exec_or_die(), get_exec_path(), getInstallationPaths(), getRestoreCommand(), InitStandaloneProcess(), main(), process_psqlrc(), set_pglocale_pgservice(), setup(), and setup_bin_paths().
Definition at line 311 of file exec.c.
References argv0, canonicalize_path(), EXE, find_my_exec(), last_dir_separator(), MAXPGPATH, pfree(), pipe_read_line(), snprintf, and validate_exec().
Referenced by ensureCleanShutdown(), find_other_exec_or_die(), get_exec_path(), getInstallationPaths(), getRestoreCommand(), isolation_start_test(), main(), and setup_bin_paths().
Definition at line 110 of file path.c.
References filename, IS_DIR_SEP, skip_drive, and unconstify.
Referenced by check_restricted_library_name(), check_valid_extension_name(), check_valid_version_name(), expand_dynamic_library_name(), find_in_path(), find_my_exec(), load_external_function(), load_libraries(), and substitute_path_macro().
Definition at line 127 of file path.c.
References IS_PATH_VAR_SEP, and unconstify.
Referenced by find_in_path(), find_my_exec(), and get_extension_control_directories().
Definition at line 974 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata().
Definition at line 911 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata(), process_psqlrc(), and set_pglocale_pgservice().
Definition at line 1005 of file path.c.
References buf, MAXPGPATH, snprintf, and strlcpy().
Referenced by expand_tilde(), initializeInput(), and process_psqlrc().
Definition at line 983 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata().
Definition at line 920 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata(), and main().
Definition at line 938 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata().
Definition at line 947 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata().
Definition at line 965 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata(), pg_bindtextdomain(), and set_pglocale_pgservice().
Definition at line 992 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata().
Definition at line 1068 of file path.c.
References trim_directory().
Referenced by AbsoluteConfigLocation(), dbase_redo(), destroy_tablespace_directories(), fsync_parent_path(), main(), and process_file().
Definition at line 929 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata(), and main().
Definition at line 956 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata(), getInstallationPaths(), and InitStandaloneProcess().
Definition at line 652 of file path.c.
References argv0, EXE, fprintf, last_dir_separator(), pg_strcasecmp(), progname, and skip_drive.
Referenced by get_opts(), handle_help_version_opts(), main(), parseCommandLine(), pg_logging_init(), and regression_main().
Definition at line 902 of file path.c.
References make_relative_path(), and my_exec_path.
Referenced by get_configdata(), get_extension_control_directories(), get_tsearch_config_filename(), ParseTzFile(), pg_TZDIR(), and setup_bin_paths().
Definition at line 33 of file getpeereid.c.
Referenced by auth_peer(), and PQconnectPoll().
Definition at line 56 of file inet_aton.c.
References pg_hton32, and val.
Referenced by is_ip_address(), and pq_verify_peer_name_matches_certificate_ip().
Definition at line 286 of file path.c.
References MAXPGPATH, skip_drive, snprintf, and strlcpy().
Referenced by AbsoluteConfigLocation(), find_my_exec(), GetConfFilesInDir(), main(), make_relative_path(), and process_file().
Definition at line 145 of file path.c.
References filename, IS_DIR_SEP, skip_drive, and unconstify.
Referenced by check_file_excluded(), ECPGconnect(), find_other_exec(), get_progname(), main(), pg_get_loaded_modules(), sendDir(), setup(), setup_bin_paths(), and should_allow_existing_directory().
Definition at line 807 of file path.c.
References _, buf, canonicalize_path(), elog, ereport, errcode(), errmsg(), ERROR, fprintf, free, is_absolute_path, malloc, MAXPGPATH, and sprintf.
Referenced by regression_main(), SelectConfigFiles(), and SetDataDir().
Definition at line 236 of file path.c.
References filename.
Referenced by BuildRestoreCommand(), main(), and shell_archive_file().
Definition at line 286 of file mkdtemp.c.
References _DIAGASSERT, and GETTEMP().
Referenced by make_temp_sockdir().
Definition at line 577 of file path.c.
References skip_drive.
Referenced by path_is_relative_and_below_cwd().
Definition at line 637 of file path.c.
References IS_DIR_SEP.
Referenced by convert_and_check_filename(), create_script_for_old_cluster_deletion(), CreateTableSpace(), and parseCommandLine().
Definition at line 604 of file path.c.
References is_absolute_path, IS_DIR_SEP, and path_contains_parent_reference().
Referenced by convert_and_check_filename().
Definition at line 392 of file exec.c.
References _, errcode(), log_error, pfree(), and wait_result_to_str().
Referenced by pipe_read_line().
Definition at line 146 of file pgstrcasecmp.c.
Referenced by asc_initcap(), asc_tolower(), check_foreign_key(), GetDecimalFromHex(), inet_cidr_pton_ipv4(), pg_wc_tolower(), SB_lower_char(), seq_search_ascii(), tolower_libc_mb(), and tolower_libc_sb().
Definition at line 135 of file pgstrcasecmp.c.
Referenced by asc_initcap(), asc_toupper(), filter_list_to_array(), pg_wc_toupper(), roman_to_int(), string2ean(), toupper_libc_mb(), and toupper_libc_sb().
Definition at line 33 of file pgcheckdir.c.
References closedir(), dirent::d_name, opendir(), and readdir().
Referenced by bbsink_server_new(), cleanup_output_dirs(), create_data_directory(), create_fullpage_directory(), create_or_open_dir(), create_output_directory(), create_xlog_or_symlink(), main(), and verify_dir_is_empty_or_create().
Definition at line 301 of file chklocale.c.
References _, encoding_match_list, ereport, errmsg(), fprintf, free, i, locale_t, encoding_match::pg_enc_code, PG_SQL_ASCII, pg_strcasecmp(), PG_UTF8, setlocale, encoding_match::system_enc_name, and WARNING.
Referenced by cache_locale_time(), check_encoding_locale_matches(), check_locale_encoding(), main(), PGLC_localeconv(), pqConnectOptions2(), PQsetClientEncoding(), and setup_locale_encoding().
Definition at line 77 of file inet_net_ntop.c.
References EAFNOSUPPORT, inet_net_ntop_ipv4(), inet_net_ntop_ipv6(), PGSQL_AF_INET, and PGSQL_AF_INET6.
Referenced by getHostaddr(), inet_abbrev(), network_host(), network_out(), network_show(), and pq_verify_peer_name_matches_certificate_ip().
Definition at line 104 of file pg_localeconv_r.c.
References free, i, lconv_member_info::is_string, lconv_string_member(), lengthof, and table.
Referenced by pg_localeconv_copy_members(), and PGLC_localeconv().
Definition at line 231 of file pg_localeconv_r.c.
References free, lc_monetary, lc_numeric, locale_t, output, pg_localeconv_copy_members(), PTHREAD_MUTEX_INITIALIZER, pthread_mutex_lock(), pthread_mutex_unlock(), and setlocale.
Referenced by PGLC_localeconv().
Definition at line 57 of file pgmkdirp.c.
References mkdir, S_IRWXG, S_IRWXO, S_IRWXU, S_ISDIR, S_IWUSR, S_IXUSR, stat::st_mode, and stat.
Referenced by create_data_directory(), create_fullpage_directory(), create_output_directory(), create_xlog_or_symlink(), main(), prepare_for_swap(), recovery_create_dbdir(), StartLogStreamer(), TablespaceCreateDbspace(), and verify_dir_is_empty_or_create().
Definition at line 19 of file qsort.c.
Referenced by GetConfFilesInDir(), readstoplist(), and searchstoplist().
Definition at line 49 of file noblock.c.
Definition at line 25 of file noblock.c.
Referenced by pq_init(), PQconnectPoll(), and report_fork_failure_to_client().
Referenced by _crypt_gensalt_sha(), and initPopulateTable().
Definition at line 36 of file pgstrcasecmp.c.
References IS_HIGHBIT_SET, s1, and s2.
Referenced by AlterSubscription(), AlterType(), appendPGArray(), array_out(), build_startup_packet(), check_createrole_self_grant(), check_datestyle(), check_debug_io_direct(), check_log_destination(), check_publications_origin(), check_restrict_nonsystem_relation_kind(), check_usermap(), check_wal_consistency_checking(), comp_keyword_case_hook(), config_enum_lookup_by_name(), convert_any_priv_string(), createdb(), defGetBoolean(), defGetCopyHeaderOption(), defGetCopyLogVerbosityChoice(), defGetCopyOnErrorChoice(), defGetGeneratedColsOption(), defGetStreamingMode(), defGetTypeLength(), DefineAggregate(), DefineCollation(), DefineType(), do_pset(), dumpSubscription(), echo_hidden_hook(), echo_hook(), evaluateSleep(), exec_command(), ExecVacuum(), expect_boolean_value(), find_matching_ts_config(), get_arg_by_name(), get_collation_actual_version_libc(), get_progname(), GetAttributeStorage(), GetCommandTagEnum(), getMetaCommand(), helpSQL(), histcontrol_hook(), hostname_match(), IsReservedOriginName(), locate_stem_module(), lookup_prop_name(), main(), makeVariableValue(), map_typename_pattern(), on_error_rollback_hook(), parse_basebackup_options(), parse_hstore(), parse_one_reloption(), parse_output_parameters(), parse_slash_copy(), parse_subscription_options(), parseArchiveFormat(), parseCommandLine(), parseNameAndArgTypes(), ParseVariableBool(), pg_checksum_parse_type(), pg_fe_sendauth(), pg_find_encoding(), pg_get_encoding_from_locale(), pg_size_bytes(), pg_stat_get_progress_info(), pgp_get_cipher_code(), pgp_get_digest_code(), pgstat_get_kind_from_str(), pgstat_register_kind(), PGTYPEStimestamp_defmt_scan(), plperl_trigger_handler(), plpgsql_extra_checks_check_hook(), PLy_exec_trigger(), pq_verify_peer_name_matches_certificate_name(), process_backslash_command(), prsd_headline(), px_gen_salt(), px_resolve_alias(), ReadArrayToken(), RegisterCustomRmgr(), show_context_hook(), splitTzLine(), ssl_protocol_version_to_openssl(), sslVerifyProtocolRange(), sslVerifyProtocolVersion(), stats_fill_fcinfo_from_arg_pairs(), SyncRepGetStandbyPriority(), unicode_norm_form_from_string(), validate_exec(), validate_log_connections_options(), variable_is_guc_list_quote(), verbosity_hook(), verify_heapam(), wildcard_certificate_match(), and xmlpi().
Definition at line 35 of file strerror.c.
References pg_strerror_r(), and PG_STRERROR_R_BUFLEN.
Definition at line 46 of file strerror.c.
References _, buf, get_errno_symbol(), gnuish_strerror_r(), snprintf, and str.
Referenced by pg_strerror().
Definition at line 1318 of file snprintf.c.
References Assert(), PrintfTarget::bufend, PrintfTarget::bufptr, PrintfTarget::bufstart, convert(), dopr_outch(), dostr(), PrintfTarget::failed, PrintfTarget::nchars, snprintf, str, PrintfTarget::stream, and value.
Referenced by float4out(), and float8out_internal().
Definition at line 69 of file pgstrcasecmp.c.
References IS_HIGHBIT_SET, s1, and s2.
Referenced by check_content_type(), check_datestyle(), check_for_device_flow(), check_special_value(), check_timezone(), checkKeyword(), command_no_begin(), do_pset(), float4in_internal(), float8in_internal(), get_collation_actual_version_libc(), helpSQL(), issuer_from_well_known_uri(), MainLoop(), makeVariableValue(), map_sql_identifier_to_xml_name(), multirange_in(), numeric_in(), parse_bool_with_len(), parse_jsonb_index_flags(), parse_or_operator(), ParseTzFile(), ParseVariableBool(), range_parse(), replace_guc_value(), scan_directory_ci(), set_unicode_line_style(), set_var_from_str(), SpecialTags(), and validate_token_format().
Definition at line 150 of file pg_strong_random.c.
References buf, close, EINTR, len, and read.
Referenced by build_client_first_message(), build_server_first_message(), CheckMD5Auth(), gen_random_uuid(), generate_restrict_key(), generate_uuidv7(), init_sess_key(), InitControlFile(), pad_eme_pkcs1_v15(), PerformRadiusTransaction(), pg_be_scram_build_secret(), pg_fe_scram_build_secret(), pg_random_bytes(), pgp_s2k_fill(), PostgresMain(), px_gen_salt(), set_random_seed(), and write_prefix().
Definition at line 144 of file pg_strong_random.c.
Referenced by fork_process().
Definition at line 39 of file pgstrsignal.c.
Referenced by log_child_failure(), LogChildExit(), pg_ctl_status(), shell_archive_file(), and wait_result_to_str().
Definition at line 122 of file pgstrcasecmp.c.
References IS_HIGHBIT_SET.
Referenced by DecodeTimezoneAbbrevPrefix(), dequote_downcase_identifier(), dir_strcmp(), ParseDateTime(), patternToSQLRegex(), PGTYPESdate_defmt_asc(), PQfnumber(), SB_lower_char(), strlower_libc_sb(), strtitle_libc_sb(), and validateTzEntry().
Definition at line 105 of file pgstrcasecmp.c.
References IS_HIGHBIT_SET.
Referenced by cash_words(), DetermineTimeZoneAbbrevOffsetInternal(), pg_split_walfile_name(), pg_timezone_abbrevs_abbrevs(), pg_tzset(), strtitle_libc_sb(), strupper_libc_sb(), and TimeZoneAbbrevIsKnown().
Definition at line 53 of file signal.c.
References EINTR, pgwin32_dispatch_queued_signals(), pgwin32_signal_event, and unlikely.
Referenced by _bt_pendingfsm_finalize(), AcceptConnection(), auth_delay_checks(), AutoVacLauncherMain(), AutoVacWorkerMain(), BackendInitialize(), BackgroundWorkerMain(), BackgroundWriterMain(), CheckpointerMain(), ConditionalXactLockTableWait(), CountOtherDBBackends(), CreateCheckPoint(), do_watch(), exec_prog(), FileReadV(), FileWriteV(), get_controlfile_by_exact_path(), InitPostgres(), main(), perform_spin_delay(), pgarch_ArchiverCopyLoop(), pgwin32_recv(), read_local_xlog_page_guts(), regression_main(), RequestCheckpoint(), ResolveRecoveryConflictWithDatabase(), ResolveRecoveryConflictWithVirtualXIDs(), StartupXLOG(), threadRun(), vacuum_delay_point(), wait_for_connection_state(), wait_for_end_recovery(), wait_for_postmaster_promote(), wait_for_postmaster_start(), wait_for_postmaster_stop(), wait_pid(), WaitExceedsMaxStandbyDelay(), WALDumpOpenSegment(), WalSndWaitStopping(), WalWriterMain(), XactLockTableWait(), and XLogFlush().
Definition at line 37 of file pgfnames.c.
References closedir(), dirent::d_name, opendir(), palloc(), pg_log_warning, pstrdup(), readdir(), and repalloc().
Referenced by scan_available_timezones().
Definition at line 86 of file pgfnames.c.
Referenced by scan_available_timezones().
Definition at line 353 of file exec.c.
References _, errcode(), errcode_for_file_access(), log_error, pclose_check(), and pg_get_line().
Referenced by check_exec(), find_other_exec(), and getRestoreCommand().
Definition at line 42 of file legacy-pqsignal.c.
Referenced by _bt_sort_array_elements(), create_list_bounds(), create_range_bounds(), gbt_num_picksplit(), gbt_var_picksplit(), ginExtractEntries(), mcelem_array_selec(), multirange_canonicalize(), range_deduplicate_values(), range_gist_double_sorting_split(), range_gist_single_sorting_split(), reduce_expanded_ranges(), sort_expanded_ranges(), SortAndUniqItems(), spg_range_quad_picksplit(), startScanKey(), tbm_prepare_shared_iterate(), tsvectorrecv(), uniqueentry(), and uniqueifyJsonbObject().
Definition at line 50 of file rmtree.c.
References CLOSEDIR, dirent::d_name, get_dirent_type(), i, LOG_LEVEL, MAXPGPATH, OPENDIR, palloc(), pfree(), pg_log_warning, PGFILETYPE_DIR, PGFILETYPE_ERROR, pstrdup(), readdir(), repalloc(), rmtree(), and snprintf.
Referenced by cleanup_directories_atexit(), cleanup_output_dirs(), CreateSlotOnDisk(), dbase_redo(), movedb(), movedb_failure_callback(), regression_main(), remove_dbtablespaces(), remove_new_subdir(), ReplicationSlotDropPtr(), RestoreSlotFromDisk(), rmtree(), and StartupReplicationSlots().
Definition at line 430 of file exec.c.
References argv0, find_my_exec(), get_etc_path(), get_locale_path(), MAXPGPATH, my_exec_path, PG_TEXTDOMAIN, setenv, and setlocale.
Referenced by main(), and regression_main().
Definition at line 33 of file strlcat.c.
Referenced by _PrepParallelRestore(), CreateBackupStreamer(), CreateLockFile(), get_configdata(), get_prompt(), and pqsecure_raw_write().
Definition at line 45 of file strlcpy.c.
Referenced by _pgstat64(), _tarGetHeader(), AbsoluteConfigLocation(), abstime2tm(), astreamer_inject_file(), astreamer_tar_header(), BaseBackup(), be_tls_get_peer_issuer_name(), be_tls_get_peer_serial(), be_tls_get_peer_subject_name(), BootstrapModeMain(), ChooseConstraintName(), ChooseExtendedStatisticName(), ChooseExtendedStatisticNameAddition(), ChooseForeignKeyConstraintNameAddition(), ChooseIndexNameAddition(), ChooseRelationName(), CleanupPriorWALFiles(), close_walfile(), ConvertTimeZoneAbbrevs(), create_script_for_old_cluster_deletion(), DCH_cache_getnew(), DecodeTimezoneAbbrev(), DefineRelation(), descriptor_variable(), DetermineTimeZoneAbbrevOffsetInternal(), do_pg_backup_start(), ensureCleanShutdown(), expand_tilde(), fetch_fp_info(), find_in_path(), find_my_exec(), find_other_exec_or_die(), from_char_parse_int_len(), fsync_parent_path(), get_configdata(), get_control_data(), get_exec_path(), get_extension_control_directories(), get_home_path(), get_prompt(), get_tablespace_mapping(), getRestoreCommand(), gnuish_strerror_r(), hash_create(), identify_system_timezone(), initialize_SSL(), InitPostgres(), injection_wait(), InjectionPointAttach(), isolation_init(), join_path_components(), KeepFileRestoredFromArchive(), logfile_getname(), logicalrep_read_begin_prepare(), logicalrep_read_commit_prepared(), logicalrep_read_prepare_common(), logicalrep_read_rollback_prepared(), LWLockNewTrancheId(), main(), make_oper_cache_key(), make_relative_path(), mdsyncfiletag(), mdunlinkfiletag(), normalize_exec_path(), NUM_cache_getnew(), parse_include(), ParseAbortRecord(), parseCommandLine(), ParseCommitRecord(), ParseLongOption(), parseServiceInfo(), pg_getnameinfo_all(), pg_open_tzfile(), pg_perm_setlocale(), pg_stat_get_wal_receiver(), pg_timezone_abbrevs_abbrevs(), pg_TZDIR(), pg_tzenumerate_next(), pgstat_bestart_initial(), pgstat_bestart_security(), postprocess_sql_command(), PQcancel(), pqGetErrorNotice3(), pqGetHomeDirectory(), pqParseInput3(), PQrequestCancel(), process_directory_recursively(), process_file(), process_postgres_switches(), px_crypt_des(), recoveryStopsAfter(), RequestNamedLWLockTranche(), RequestXLogStreaming(), results_differ(), rot13_passphrase(), scan_available_timezones(), scan_directory(), scan_directory_ci(), scan_for_existing_tablespaces(), SerializeLibraryState(), setup_bin_paths(), SimpleLruInit(), SSLerrmessage(), tar_close(), tarCreateHeader(), timestamptz_to_str(), TimeZoneAbbrevIsKnown(), uuid_generate_internal(), validate_exec(), WaitEventCustomNew(), WalReceiverMain(), and XLogRestorePoint().
Definition at line 26 of file strnlen.c.
References str.
Referenced by fmtstr(), GetRelationPath(), pg_encoding_mblen_bounded(), pnstrdup(), PQescapeInternal(), PQescapeStringInternal(), PQmblenBounded(), test_enc_setup(), and test_one_vector_escape().
Definition at line 49 of file strsep.c.
Referenced by parse_scram_secret(), pg_logging_init(), and split_to_stringlist().
Definition at line 30 of file timingsafe_bcmp.c.
Referenced by SendCancelRequest().
Definition at line 89 of file exec.c.
References buf, MAXPGPATH, pg_strcasecmp(), S_IRUSR, S_ISDIR, S_ISREG, S_IXUSR, stat, and strlcpy().
Referenced by check_exec(), find_my_exec(), and find_other_exec().
Definition at line 121 of file wait_error.c.
References WEXITSTATUS, WIFEXITED, and WIFSIGNALED.
Referenced by ExecuteRecoveryCommand(), RestoreArchivedFile(), and shell_archive_file().
Definition at line 102 of file wait_error.c.
References WEXITSTATUS, WIFEXITED, WIFSIGNALED, and WTERMSIG.
Referenced by ClosePipeFromProgram(), and RestoreArchivedFile().
Definition at line 138 of file wait_error.c.
References WEXITSTATUS, WIFEXITED, WIFSIGNALED, and WTERMSIG.
Referenced by SetShellResultVariables().
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().