|
PostgreSQL Source Code git master
|

Go to the source code of this file.
Macros | |
| #define | MAX_ON_EXIT_NICELY 20 |
Functions | |
| void | set_dump_section (const char *arg, int *dumpSections) |
| void | on_exit_nicely (on_exit_nicely_callback function, void *arg) |
| void | exit_nicely (int code) |
Variables | ||
| const char * | progname = NULL | |
| struct { | ||
| on_exit_nicely_callback function | ||
| void * arg | ||
| } | on_exit_nicely_list [MAX_ON_EXIT_NICELY] | |
| static int | on_exit_nicely_index | |
| #define MAX_ON_EXIT_NICELY 20 |
Definition at line 24 of file pg_backup_utils.c.
Definition at line 92 of file pg_backup_utils.c.
References arg, fb(), function, i, on_exit_nicely_index, and on_exit_nicely_list.
Referenced by ConnectDatabase(), dumpRoleGUCPrivs(), dumpRoleMembership(), dumpTableData_copy(), dumpTablespaces(), executeCommand(), executeQuery(), expand_dbname_patterns(), get_dbnames_list_to_restore(), getTableAttrs(), main(), main(), read_dump_filters(), read_dumpall_filters(), read_restore_filters(), restore_all_databases(), set_dump_section(), and warn_or_exit_horribly().
| void on_exit_nicely | ( | on_exit_nicely_callback | function, |
| void * | arg | ||
| ) |
Definition at line 65 of file pg_backup_utils.c.
References arg, function, MAX_ON_EXIT_NICELY, on_exit_nicely_index, on_exit_nicely_list, and pg_fatal.
Referenced by on_exit_close_archive().
Definition at line 42 of file pg_backup_utils.c.
References arg, DUMP_DATA, DUMP_POST_DATA, DUMP_PRE_DATA, DUMP_UNSECTIONED, exit_nicely(), fb(), pg_log_error, pg_log_error_hint, and progname.
Referenced by main().
| void* arg |
Definition at line 29 of file pg_backup_utils.c.
Referenced by exit_nicely(), on_exit_nicely(), and set_dump_section().
| on_exit_nicely_callback function |
Definition at line 28 of file pg_backup_utils.c.
Referenced by add_dummy_return(), before_shmem_exit(), cached_function_compile(), cancel_before_shmem_exit(), cancel_on_dsm_detach(), cfunc_hashtable_delete(), cfunc_hashtable_insert(), dsm_detach(), ExecSetExecProcNode(), exit_nicely(), injection_points_attach(), injection_points_attach_func(), InjectionPointAttach(), on_dsm_detach(), on_exit_nicely(), on_proc_exit(), on_shmem_exit(), plpgsql_compile(), plpgsql_compile_callback(), plpgsql_compile_inline(), plpgsql_finish_datums(), PrepareToInvalidateCacheTuple(), RegisterExprContextCallback(), and UnregisterExprContextCallback().
|
static |
Definition at line 32 of file pg_backup_utils.c.
Referenced by exit_nicely(), and on_exit_nicely().
| struct { ... } on_exit_nicely_list[MAX_ON_EXIT_NICELY] |
Referenced by exit_nicely(), and on_exit_nicely().
Definition at line 22 of file pg_backup_utils.c.
Referenced by set_dump_section().