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) |
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 62 of file parallel.c.
References generate_unaccent_rules::args, exec_prog(), fflush(), fmt, i, UserOpts::jobs, log_file, MAX_STRING, parallel_jobs, pg_fatal, pg_free(), pg_malloc(), pg_malloc0(), pg_strdup(), reap_child(), user_opts, va_end(), va_start(), 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 | ||
) |
Definition at line 172 of file parallel.c.
References fflush(), 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 278 of file parallel.c.
References UserOpts::jobs, parallel_jobs, pg_fatal, res, 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().