Turns on various assertion checks. This is a debugging aid. If you are experiencing strange problems or crashes you might want to turn this on, as it might expose programming mistakes. To use this parameter, the macro
USE_ASSERT_CHECKING must be defined when PostgreSQL is built (accomplished by the configure option --enable-cassert). Note that
debug_assertions defaults to
on if PostgreSQL has been built with assertions enabled.
Used for debugging PostgreSQL code problems; not for production use. Requires compile options.