]> git.ipfire.org Git - thirdparty/postgresql.git/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:59 +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 85c089716da70121ec86ebf8d15e58fef2f8c181..b22ea3deb684a31858ddfb5896de022da86bbe14 100644 (file)
@@ -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')
        {