mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-02 16:31:15 +02:00
Add an abort() call to ExceptionalCondition so that is Assert is
called, it dumps core... ABORT_ON_ASSERT must be defined, as I don't know if this is the correct way to do this...
This commit is contained in:
parent
9fc64aefe1
commit
6913c8b4a4
@ -7,7 +7,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/error/assert.c,v 1.2 1996/11/11 11:29:15 scrappy Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/utils/error/assert.c,v 1.3 1996/11/11 11:49:40 scrappy Exp $
|
||||
*
|
||||
* NOTE
|
||||
* This should eventually work with elog(), dlog(), etc.
|
||||
@ -50,6 +50,9 @@ ExceptionalCondition(char* conditionName,
|
||||
fileName, lineNumber);
|
||||
}
|
||||
|
||||
#ifdef ABORT_ON_ASSERT
|
||||
abort();
|
||||
#endif
|
||||
/*
|
||||
* XXX Depending on the Exception and tracing conditions, you will
|
||||
* XXX want to stop here immediately and maybe dump core.
|
||||
|
Loading…
Reference in New Issue
Block a user