greg

On 19 Sep 2008, at 13:20, Tom Lane <[EMAIL PROTECTED]> wrote:

Simon Riggs <[EMAIL PROTECTED]> writes:
Can we introduce levels of assertion?

The thing that is good about Assert() is that it doesn't require a lot
of programmer effort to put one in.  I'm not in favor of complexifying
it.


Perhaps just an Assert_expensive() would be useful if someone wants to to the work of going through all the assertions and determining if they're especially expensive. We already have stuff like CLOBBER*.

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.




           regards, tom lane

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to