Re: Assert Levels
| От | Tom Lane |
|---|---|
| Тема | Re: Assert Levels |
| Дата | |
| Msg-id | 22046.1221851598@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Assert Levels (Greg Stark <greg.stark@enterprisedb.com>) |
| Ответы |
Re: Assert Levels
|
| Список | 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 по дате отправления: