|
PostgreSQL Source Code git master
|
#include "common/logging.h"

Go to the source code of this file.
Macros | |
| #define | DUMP_PRE_DATA 0x01 |
| #define | DUMP_DATA 0x02 |
| #define | DUMP_POST_DATA 0x04 |
| #define | DUMP_UNSECTIONED 0xff |
| #define | pg_fatal(...) |
Typedefs | |
| typedef void(* | on_exit_nicely_callback) (int code, void *arg) |
Functions | |
| void | set_dump_section (const char *arg, int *dumpSections) |
| void | on_exit_nicely (on_exit_nicely_callback function, void *arg) |
| pg_noreturn void | exit_nicely (int code) |
Variables | |
| const char * | progname |
| #define DUMP_DATA 0x02 |
Definition at line 22 of file pg_backup_utils.h.
| #define DUMP_POST_DATA 0x04 |
Definition at line 23 of file pg_backup_utils.h.
| #define DUMP_PRE_DATA 0x01 |
Definition at line 21 of file pg_backup_utils.h.
| #define DUMP_UNSECTIONED 0xff |
Definition at line 24 of file pg_backup_utils.h.
| #define pg_fatal | ( | ... | ) |
Definition at line 36 of file pg_backup_utils.h.
| typedef void(* on_exit_nicely_callback) (int code, void *arg) |
Definition at line 26 of file pg_backup_utils.h.
| pg_noreturn void exit_nicely | ( | int | code | ) |
Definition at line 92 of file pg_backup_utils.c.
References arg, function, i, on_exit_nicely_index, and on_exit_nicely_list.
Referenced by ConnectDatabase(), dumpRoleGUCPrivs(), dumpRoleMembership(), dumpTableData_copy(), dumpTablespaces(), executeCommand(), executeQuery(), expand_dbname_patterns(), getTableAttrs(), main(), read_dump_filters(), read_dumpall_filters(), read_restore_filters(), 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().
| void set_dump_section | ( | const char * | arg, |
| int * | dumpSections | ||
| ) |
Definition at line 42 of file pg_backup_utils.c.
References arg, DUMP_DATA, DUMP_POST_DATA, DUMP_PRE_DATA, DUMP_UNSECTIONED, exit_nicely(), pg_log_error, pg_log_error_hint, and progname.
Referenced by main().