From 785d4998b69a538023b82bfa95db4af5f7d07b06 Mon Sep 17 00:00:00 2001 From: Heikki Linnakangas Date: Sun, 8 Apr 2012 19:39:12 +0300 Subject: [PATCH] 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. --- src/backend/tcop/postgres.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 942d4c25a5f..b79ffbfef27 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -3543,9 +3543,6 @@ PostgresMain(int argc, char *argv[], const char *username) SetProcessingMode(InitProcessing); - /* Set up reference point for stack depth checking */ - set_stack_base(); - /* Compute paths, if we didn't inherit them from postmaster */ if (my_exec_path[0] == '\0') { -- 2.39.5