postgresql/src/backend/access
Robert Haas 3b2787e1f8 Fix broken cleanup interlock for GIN pending list.
The pending list must (for correctness) always be cleaned up by vacuum, and
should (for the avoidance of surprising behavior) always be cleaned up
by an explicit call to gin_clean_pending_list, but cleanup is optional
when inserting.  The old logic got this backward: cleanup was forced
if (stats == NULL), but that's going to be *false* when vacuuming and
*true* for inserts.

Masahiko Sawada, reviewed by me.

Discussion: http://postgr.es/m/CAD21AoBLUSyiYKnTYtSAbC+F=XDjiaBrOUEGK+zUXdQ8owfPKw@mail.gmail.com
2017-11-16 14:19:27 -05:00
..
brin Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
common Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
gin Fix broken cleanup interlock for GIN pending list. 2017-11-16 14:19:27 -05:00
gist Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
hash Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
heap Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
index Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
nbtree Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
rmgrdesc Remove dedicated B-tree root-split record types. 2017-08-16 12:24:40 +03:00
spgist Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
tablesample Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
transam Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
Makefile TABLESAMPLE, SQL Standard and extensible 2015-05-15 14:37:10 -04:00