diff options
Diffstat (limited to 'src/backend/tcop/postgres.c')
-rw-r--r-- | src/backend/tcop/postgres.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/tcop/postgres.c b/src/backend/tcop/postgres.c index 45a3794b8e3..adf71c69026 100644 --- a/src/backend/tcop/postgres.c +++ b/src/backend/tcop/postgres.c @@ -4418,7 +4418,7 @@ PostgresMain(const char *dbname, const char *username) * Now return to normal top-level context and clear ErrorContext for * next time. */ - MemoryContextSwitchTo(TopMemoryContext); + MemoryContextSwitchTo(MessageContext); FlushErrorState(); /* |