On 2017-03-13 14:09:39 -0700, Andres Freund wrote:
> Hi,
>
> On 2017-03-13 15:45:01 -0400, Tom Lane wrote:
> > I could be wrong, but the most obvious explanation for this failure is
> > that autovacuum had a lock on the table or index when we looked.
> > Even if that isn't why axolotl failed in this particular case, I think
> > it's dead certain that we will see such failures from time to time
> > if this test script isn't tightened up. IIUC what the test is trying
> > to look for, I think adding "AND pid = pg_backend_pid()" to this query
> > would be an appropriate fix.
>
> Yes, that sounds reasonable. Will do in a bit. Thanks for noticing.
Pushed.
- Andres