22 #define MAX_ON_EXIT_NICELY 20
46 if (strcmp(
arg,
"pre-data") == 0)
48 else if (strcmp(
arg,
"data") == 0)
50 else if (strcmp(
arg,
"post-data") == 0)
66 pg_fatal(
"out of on_exit_nicely slots");
99 if (parallel_init_done && GetCurrentThreadId() != mainThreadId)
#define pg_log_error(...)
#define pg_log_error_hint(...)
static int on_exit_nicely_index
void exit_nicely(int code)
static struct @35 on_exit_nicely_list[MAX_ON_EXIT_NICELY]
#define MAX_ON_EXIT_NICELY
void set_dump_section(const char *arg, int *dumpSections)
void on_exit_nicely(on_exit_nicely_callback function, void *arg)
void(* on_exit_nicely_callback)(int code, void *arg)