aboutsummaryrefslogtreecommitdiff
path: root/contrib/start-scripts/macos/postgres-wrapper.sh
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-11-16 14:19:27 -0500
committerRobert Haas <rhaas@postgresql.org>2017-11-16 15:24:19 -0500
commitc8df4831ef212b9028824d1b5de558973c110c77 (patch)
treed88183f64bea26f2ee0dad14031d5aa12a24e42d /contrib/start-scripts/macos/postgres-wrapper.sh
parent4b02e935fee881eab1f4fabdbebccedfa57b4ddd (diff)
downloadpostgresql-c8df4831ef212b9028824d1b5de558973c110c77.tar.gz
postgresql-c8df4831ef212b9028824d1b5de558973c110c77.zip
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
Diffstat (limited to 'contrib/start-scripts/macos/postgres-wrapper.sh')
0 files changed, 0 insertions, 0 deletions