Skip to content

Commit cd8b1c6

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 89da5dc commit cd8b1c6

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
@@ -3004,9 +3004,6 @@ PostgresMain(int argc, char *argv[], const char *username)
30043004

30053005
SetProcessingMode(InitProcessing);
30063006

3007-
/* Set up reference point for stack depth checking */
3008-
set_stack_base();
3009-
30103007
/* Compute paths, if we didn't inherit them from postmaster */
30113008
if (my_exec_path[0] == '\0')
30123009
{

0 commit comments

Comments
 (0)