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

Categories

Development/testing, GUC configuration item, Preset configuration item