Skip to content

Commit 785d499

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 77dc2b0 commit 785d499

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

35443544
SetProcessingMode(InitProcessing);
35453545

3546-
/* Set up reference point for stack depth checking */
3547-
set_stack_base();
3548-
35493546
/* Compute paths, if we didn't inherit them from postmaster */
35503547
if (my_exec_path[0] == '\0')
35513548
{

0 commit comments

Comments
 (0)