Skip to content

Commit 03529a3

Browse files
committed
set_stack_base() no longer needs to be called in PostgresMain.
This was a thinko in previous commit. Now that stack base pointer is now set in PostmasterMain and SubPostmasterMain, it doesn't need to be set in PostgresMain anymore.
1 parent ef3883d commit 03529a3

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/backend/tcop/postgres.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3508,9 +3508,6 @@ PostgresMain(int argc, char *argv[], const char *username)
35083508

35093509
SetProcessingMode(InitProcessing);
35103510

3511-
/* Set up reference point for stack depth checking */
3512-
set_stack_base();
3513-
35143511
/* Compute paths, if we didn't inherit them from postmaster */
35153512
if (my_exec_path[0] == '\0')
35163513
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy