[COMMITTERS] pgsql: Fix corner-case errors in brin_doupdate().

2017-11-02 Thread Tom Lane
Fix corner-case errors in brin_doupdate(). In some cases the BRIN code releases lock on an index page, and later re-acquires lock and tries to check that the tuple it was working on is still there. That check was a couple bricks shy of a load. It didn't consider that the page might have turned i

[COMMITTERS] pgsql: Fix corner-case errors in brin_doupdate().

2017-11-02 Thread Tom Lane
Fix corner-case errors in brin_doupdate(). In some cases the BRIN code releases lock on an index page, and later re-acquires lock and tries to check that the tuple it was working on is still there. That check was a couple bricks shy of a load. It didn't consider that the page might have turned i

[COMMITTERS] pgsql: Fix corner-case errors in brin_doupdate().

2017-11-02 Thread Tom Lane
Fix corner-case errors in brin_doupdate(). In some cases the BRIN code releases lock on an index page, and later re-acquires lock and tries to check that the tuple it was working on is still there. That check was a couple bricks shy of a load. It didn't consider that the page might have turned i

[COMMITTERS] pgsql: Fix corner-case errors in brin_doupdate().

2017-11-02 Thread Tom Lane
Fix corner-case errors in brin_doupdate(). In some cases the BRIN code releases lock on an index page, and later re-acquires lock and tries to check that the tuple it was working on is still there. That check was a couple bricks shy of a load. It didn't consider that the page might have turned i