Re: compiling with RELCACHE_FORCE_RELEASE doesn't pass regression

Jeff Davis <pgsql@j-davis.com>

From: Jeff Davis <pgsql@j-davis.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Date: 2010-09-01T22:33:17Z
Lists: pgsql-hackers

Attachments

On Wed, 2010-09-01 at 15:31 -0400, Tom Lane wrote:
> Jeff Davis <pgsql@j-davis.com> writes:
> > Compiling with RELCACHE_FORCE_RELEASE doesn't pass "make check" on my
> > machine.
> 
> What happens exactly?
> 
> > Is it supposed to pass?
> 
> It shouldn't crash, but I'm not certain whether you'd see any
> visible diffs in the tests.

I do:

  CFLAGS="-O0 -DRELCACHE_FORCE_RELEASE" ./configure --enable-debug \
    --enable-depend --enable-cassert

I have attached regression.diffs after a "make check". The diffs don't
look trivial, and actually look quite strange to me.

It happens deterministically for me, so I assume that anyone on linux
x86-64 would see the same thing.

Regards,
	Jeff Davis