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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: gsoc, oprrest function for text search take 2
Следующее
От: Greg Stark
Дата:
Сообщение: Re: Assert Levels