aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gin/ginfast.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2016-01-22 01:22:56 +0900
committerFujii Masao <fujii@postgresql.org>2016-01-22 01:22:56 +0900
commit38710a374ea9a29159ff12af7dbecd2959476447 (patch)
treeac9d47208a92bc25b2518f9c42b628842c9374e9 /src/backend/access/gin/ginfast.c
parentc80b31d557cb4b2d2a65cb0a7e71fd961834fdb2 (diff)
downloadpostgresql-38710a374ea9a29159ff12af7dbecd2959476447.tar.gz
postgresql-38710a374ea9a29159ff12af7dbecd2959476447.zip
Remove unused argument from ginInsertCleanup()
It's an oversight in commit dc943ad.
Diffstat (limited to 'src/backend/access/gin/ginfast.c')
-rw-r--r--src/backend/access/gin/ginfast.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/backend/access/gin/ginfast.c b/src/backend/access/gin/ginfast.c
index 88e36211edf..681ce098144 100644
--- a/src/backend/access/gin/ginfast.c
+++ b/src/backend/access/gin/ginfast.c
@@ -434,7 +434,7 @@ ginHeapTupleFastInsert(GinState *ginstate, GinTupleCollector *collector)
END_CRIT_SECTION();
if (needCleanup)
- ginInsertCleanup(ginstate, false, true, NULL);
+ ginInsertCleanup(ginstate, true, NULL);
}
/*
@@ -732,9 +732,6 @@ processPendingPage(BuildAccumulator *accum, KeyArray *ka,
* action of removing a page from the pending list really needs exclusive
* lock.
*
- * vac_delay indicates that ginInsertCleanup should call
- * vacuum_delay_point() periodically.
- *
* fill_fsm indicates that ginInsertCleanup should add deleted pages
* to FSM otherwise caller is responsible to put deleted pages into
* FSM.
@@ -743,8 +740,7 @@ processPendingPage(BuildAccumulator *accum, KeyArray *ka,
*/
void
ginInsertCleanup(GinState *ginstate,
- bool vac_delay, bool fill_fsm,
- IndexBulkDeleteResult *stats)
+ bool fill_fsm, IndexBulkDeleteResult *stats)
{
Relation index = ginstate->index;
Buffer metabuffer,