diff options
author | Alvaro Herrera | 2013-02-08 15:13:34 +0000 |
---|---|---|
committer | Alvaro Herrera | 2013-02-08 15:50:58 +0000 |
commit | 381d4b70a9854a7b5b9f12d828a0824f8564f1e7 (patch) | |
tree | e3ce0c28c9676a8f7d0a43943fbcdaca3c7166d5 /src/include/c.h | |
parent | 5766228bc64268369b59b07cffa7d31cd4f9c9ff (diff) |
Clean up c.h / postgres.h after Assert() move
Per Tom
Diffstat (limited to 'src/include/c.h')
-rw-r--r-- | src/include/c.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/c.h b/src/include/c.h index 7c5ac8642a..d38788ec79 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -582,7 +582,7 @@ typedef NameData *Name; #define AssertArg(condition) assert(condition) #define AssertState(condition) assert(condition) -#else /* USE_ASSERT_CHECKING && FRONTEND */ +#else /* USE_ASSERT_CHECKING && !FRONTEND */ /* * Trap @@ -619,6 +619,10 @@ typedef NameData *Name; #define AssertState(condition) \ Trap(!(condition), "BadState") +extern void ExceptionalCondition(const char *conditionName, + const char *errorType, + const char *fileName, int lineNumber) __attribute__((noreturn)); + #endif /* USE_ASSERT_CHECKING && !FRONTEND */ |