From: Heikki Linnakangas Date: Sun, 8 Apr 2012 16:39:12 +0000 (+0300) Subject: set_stack_base() no longer needs to be called in PostgresMain. X-Git-Tag: REL9_1_4~46 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=88e071533fba70747aaf8d9b32fb927b7157ad16;p=postgresql 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. --- diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 638ba0fe06..dda82358eb 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -3533,9 +3533,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') {