aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-04-08 19:39:12 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2012-04-08 19:40:54 +0300
commit88e071533fba70747aaf8d9b32fb927b7157ad16 (patch)
treedc27e9733d9b8ed6380f788968f83983217496ec /src/backend/tcop/postgres.c
parentef29bb1f7254222835267cc03389ed12602c677c (diff)
downloadpostgresql-88e071533fba70747aaf8d9b32fb927b7157ad16.tar.gz
postgresql-88e071533fba70747aaf8d9b32fb927b7157ad16.zip
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.
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r--src/backend/tcop/postgres.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c
index 638ba0fe066..dda82358eb6 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')
{