Re: Assert Levels - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Assert Levels
Date
Msg-id 22046.1221851598@sss.pgh.pa.us
Whole thread Raw
In response to Re: Assert Levels  (Greg Stark <greg.stark@enterprisedb.com>)
Responses Re: Assert Levels  (Greg Stark <greg.stark@enterprisedb.com>)
List pgsql-hackers
Greg Stark <greg.stark@enterprisedb.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 leadto
serverrestarts if it triggers an assertion failure.
 

        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: gsoc, oprrest function for text search take 2
Next
From: Greg Stark
Date:
Subject: Re: Assert Levels