Thread: pgsql: Define Trap and TrapMacro even in non-cassert builds.

pgsql: Define Trap and TrapMacro even in non-cassert builds.

From
Robert Haas
Date:
Define Trap and TrapMacro even in non-cassert builds.

In some cases, the use of these macros may be preferable to Assert()
or AssertMacro(), since this way the caller can set the trap message.

Andres Freund and Robert Haas

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/5ee73525d57380a55b5c87f8df1c30bd32fb98b3

Modified Files
--------------
src/include/c.h |    3 +++
1 file changed, 3 insertions(+)