Contents
debug_assertions
A preset parameter reporting whether assertions are enabled
debug_assertions
is a preset configuration parameter reporting whether PostgreSQL was built with assertions enabled.
debug_assertions
was added in PostgreSQL 7.1.
Default value
The default value for debug_assertions
is: off
.
debug_assertions
will be reported as "on" if the server was built with the --enable-cassert
option (which sets the macro USE_ASSERT_CHECKING
).
Change history
- PostgreSQL 9.5
- converted to a preset configuration parameter (commit 3bdcf6a5)
- PostgreSQL 7.1
- added (commit 648677c3)
References
- PostgreSQL documentation: debug_assertions