diff options
Diffstat (limited to 'src/backend/postmaster/postmaster.c')
-rw-r--r-- | src/backend/postmaster/postmaster.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index ba51d932d55..bbce4446d3b 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -895,11 +895,17 @@ PostmasterMain(int argc, char *argv[]) set_max_safe_fds(); /* + * Set reference point for stack-depth checking. + */ + set_stack_base(); + + /* * Load configuration files for client authentication. */ load_hba(); load_ident(); + /* * Initialize the list of active backends. */ @@ -3610,6 +3616,11 @@ SubPostmasterMain(int argc, char *argv[]) read_backend_variables(argv[2], &port); /* + * Set reference point for stack-depth checking + */ + set_stack_base(); + + /* * Set up memory area for GSS information. Mirrors the code in ConnCreate * for the non-exec case. */ |