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: REL8_4_12~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cd8b1c6d48d664fe2e5575f40707ed247cee4aa0;p=thirdparty%2Fpostgresql.git 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 85c089716da..b22ea3deb68 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -3004,9 +3004,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') {