Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group