Greg Stark <greg(dot)stark(at)enterprisedb(dot)com> writes:
> You'll also have to do enough empirical tests to convince people that
> a --enable-cheap-casserts build really does perform the same as a
> regular build.
I don't think performance is even the main issue. We have never
recommended having Asserts on in production because they can decrease
system-wide reliability. As per the fine manual:
The assertion checks are not categorized for severity,
and so what might be a relatively harmless bug will still lead
to server restarts if it triggers an assertion failure.
regards, tom lane