Re: pgsql/src/include (config.h.in)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Alfred Perlstein <bright(at)wintelcom(dot)net>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql/src/include (config.h.in)
Date: 2000-12-04 14:50:34
Message-ID: 5631.975941434@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Alfred Perlstein <bright(at)wintelcom(dot)net> writes:
>> I'm going to leave CLOBBER_FREED_MEMORY and MEMORY_CONTEXT_CHECKING
>> turned on by --enable-cassert for now, however.

> Urk, this looks pretty expensive, is there any flags available that
> will enable the assertion checking without expensive memory zeroing
> (or 0xdeadbeef'ing) free'd memory?

You can twiddle the declarations in config.h (or config.h.in).

> Is running enable-cassert on my production boxes going to cause
> a lot of overhead?

While I haven't tried hard to measure it, the profiles that I've done
don't show it as a huge cost.

In any case, you're not planning to run beta code as production,
are you?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Alfred Perlstein 2000-12-04 18:52:18 Re: pgsql/src/include (config.h.in)
Previous Message Alfred Perlstein 2000-12-04 06:56:51 Re: pgsql/src/include (config.h.in)