mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
This patch removes a lot of unused code related to assertions and
error handling, and simplifies the code that remains. Apparently, the code that left Berkeley had a whole "error handling subsystem", which exceptions and whatnot. Since we don't use that anymore, there's no reason to keep it around. The regression tests pass with the patch applied. Unless anyone sees a problem, please apply. Neil Conway
This commit is contained in:
@@ -37,7 +37,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.282 2002/08/04 06:26:38 thomas Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/postmaster/postmaster.c,v 1.283 2002/08/10 20:29:18 momjian Exp $
|
||||
*
|
||||
* NOTES
|
||||
*
|
||||
@@ -102,7 +102,6 @@
|
||||
#include "storage/proc.h"
|
||||
#include "access/xlog.h"
|
||||
#include "tcop/tcopprot.h"
|
||||
#include "utils/exc.h"
|
||||
#include "utils/guc.h"
|
||||
#include "utils/memutils.h"
|
||||
#include "utils/ps_status.h"
|
||||
@@ -380,9 +379,8 @@ PostmasterMain(int argc, char *argv[])
|
||||
MyProcPid = getpid();
|
||||
|
||||
/*
|
||||
* Fire up essential subsystems: error and memory management
|
||||
* Fire up essential subsystems: memory management
|
||||
*/
|
||||
EnableExceptionHandling(true);
|
||||
MemoryContextInit();
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user