Thread: pgsql: Allow autoanalyze to add pages deleted from pending list to FSM

pgsql: Allow autoanalyze to add pages deleted from pending list to FSM

From
Teodor Sigaev
Date:
Allow autoanalyze to add pages deleted from pending list to FSM

Commit e95680832854cf300e64c10de9cc2f586df558e8 introduces adding pages
to FSM for ordinary insert, but autoanalyze was able just cleanup
pending list without adding to FSM.

Also fix double call of IndexFreeSpaceMapVacuum() during ginvacuumcleanup()

Report from Fujii Masao
Patch by me
Review by Jeff Janes

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/dc943ad952329a46ce8dc0103b0980e1fe5893a8

Modified Files
--------------
src/backend/access/gin/ginfast.c   |   22 ++++++++++++++--------
src/backend/access/gin/ginvacuum.c |    6 +++---
src/include/access/gin_private.h   |    2 +-
3 files changed, 18 insertions(+), 12 deletions(-)