blob: c088e8cef73d24e01b94181e995b66e99a16dc3e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#include "thread_inits.h"
static __thread int pg_thread_init_flag;
void pg_thread_init(void) {
if (pg_thread_init_flag) return;
pg_thread_init_flag=1;
my_wait_event_info_init();
BackendList_init();
CurrentTransactionState_init();
DatabaseList_init();
MXactCache_init();
cached_expression_list_init();
dsm_segment_list_init();
lsn_mapping_init();
mainrdata_last_init();
pcxt_list_init();
pgStatPending_init();
saved_plan_list_init();
setup_pg_thread_cleanup();
pg_timezone_initialize();
}
|