|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Functions | |
| void | parallel_exec_prog (const char *log_file, const char *opt_log_file, const char *fmt,...) |
| void | parallel_transfer_all_new_dbs (DbInfoArr *old_db_arr, DbInfoArr *new_db_arr, char *old_pgdata, char *new_pgdata, char *old_tablespace, char *new_tablespace) |
| bool | reap_child (bool wait_for_child) |
Variables | |
| static int | parallel_jobs |
| void parallel_exec_prog | ( | const char * | log_file, |
| const char * | opt_log_file, | ||
| const char * | fmt, | ||
| ... | |||
| ) |
Definition at line 63 of file parallel.c.
References generate_unaccent_rules::args, exec_prog(), i, UserOpts::jobs, log_file, MAX_STRING, parallel_jobs, pg_fatal, pg_free(), pg_malloc(), pg_malloc0(), pg_strdup(), reap_child(), user_opts, and vsnprintf.
Referenced by create_new_objects(), and generate_old_dump().
| void parallel_transfer_all_new_dbs | ( | DbInfoArr * | old_db_arr, |
| DbInfoArr * | new_db_arr, | ||
| char * | old_pgdata, | ||
| char * | new_pgdata, | ||
| char * | old_tablespace, | ||
| char * | new_tablespace | ||
| ) |
Definition at line 173 of file parallel.c.
References i, UserOpts::jobs, parallel_jobs, pg_fatal, pg_free(), pg_malloc(), pg_malloc0(), pg_strdup(), reap_child(), transfer_all_new_dbs(), and user_opts.
Referenced by transfer_all_new_tablespaces().
| bool reap_child | ( | bool | wait_for_child | ) |
Definition at line 281 of file parallel.c.
References UserOpts::jobs, parallel_jobs, pg_fatal, and user_opts.
Referenced by create_new_objects(), generate_old_dump(), parallel_exec_prog(), parallel_transfer_all_new_dbs(), and transfer_all_new_tablespaces().
|
static |
Definition at line 19 of file parallel.c.
Referenced by parallel_exec_prog(), parallel_transfer_all_new_dbs(), and reap_child().