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:39:12 +0300
commit03529a3ff999b0e4770b3e0b8e342400e383db98 (patch)
treee179e73046daefd89a3c135a4f262c2ccc85348d /src/backend/tcop/postgres.c
parentef3883d130cb553003015f3da7fa59415da6f5c9 (diff)
downloadpostgresql-03529a3ff999b0e4770b3e0b8e342400e383db98.tar.gz
postgresql-03529a3ff999b0e4770b3e0b8e342400e383db98.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 999f63bffb7..d5369f412e2 100644
--- a/src/backend/tcop/postgres.c
+++ b/src/backend/tcop/postgres.c
@@ -3508,9 +3508,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')
{