]> granicus.if.org Git - postgresql/commit
Define Trap and TrapMacro even in non-cassert builds.
authorRobert Haas <rhaas@postgresql.org>
Fri, 28 Jun 2013 13:30:38 +0000 (09:30 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 28 Jun 2013 13:33:34 +0000 (09:33 -0400)
commit5ee73525d57380a55b5c87f8df1c30bd32fb98b3
tree94ed86e2f7b3c685165f032ad0f5d22db90e390f
parent9e0bc7c1e84d7fffb93130f2b7d079a0853329ed
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
src/include/c.h