On 2016-04-26 17:25:18 -0400, Robert Haas wrote: > On Mon, Apr 25, 2016 at 4:57 PM, Andres Freund <and...@anarazel.de> wrote: > > On 2016-04-25 16:29:36 -0400, Robert Haas wrote: > >> On Mon, Apr 25, 2016 at 2:05 PM, Andres Freund <and...@anarazel.de> wrote: > >> > Well, I posted a patch. I'd have applied it too (after addressing your > >> > comments obviously), except that there's some interdependencies with the > >> > nsmg > 0 thread (some of my tests fail spuriously without that > >> > fixed). Early last week I waited for a patch on that thread, but when > >> > that didn't materialize by Friday I switched to work on that [1]. With > >> > both fixes applied I can't reproduce any problems anymore. > >> > >> OK. What are the interdependencies? You've said that a few times but > >> I am not clear on what the nature of those interdependencies is. > > > > I added checks to smgr/md.c that verify that the smgr state is > > consistent with the on-file state. Without the two issues in [1] fixed, > > these tests fail in a standby, while running regression tests. Adding > > those tests made me notice a bug in an unreleased version of the patch, > > so it seems they're worthwhile to run. > > Footnote [1] is used, but not defined.
Oops, it's the thread you replied too.. > I think it makes sense to go ahead and push this fix rather soon. Will do. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers