]> granicus.if.org Git - postgresql/commitdiff
set_stack_base() no longer needs to be called in PostgresMain.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 8 Apr 2012 16:39:12 +0000 (19:39 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 8 Apr 2012 16:41:01 +0000 (19:41 +0300)
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

index 942d4c25a5f8a24e4e92edd5110df9f906f924b1..b79ffbfef272363b2ea9815bcb5e4827619484ac 100644 (file)
@@ -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')
        {