Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

-3
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)