Re: Re: check failure with -DRELCACHE_FORCE_RELEASE -DCLOBBER_FREED_MEMORY
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
Cc: Stephen Frost <sfrost@snowman.net>,
PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-03-06T22:14:12Z
Lists: pgsql-hackers
I wrote: > I fixed that, and the basic regression tests no longer crash outright with > these settings, but I do see half a dozen errors that all seem to be in > RLS-related tests. Those turned out to all be the same bug in DoCopy. "make check-world" passes for me now with -DRELCACHE_FORCE_RELEASE, but I've only tried HEAD not the back branches. regards, tom lane
Commits
-
Avoid dangling pointer to relation name in RLS code path in DoCopy().
- a8df75b0a470 10.0 landed
- 943140d572ad 9.6.3 landed
- 420d9ec0aebb 9.5.7 landed
-
In rebuild_relation(), don't access an already-closed relcache entry.
- dbca84f04ed5 10.0 landed
- 807df31d19e7 9.5.7 landed
- 68f7b91e509d 9.6.3 landed