From 77bb65d3fcdd2b588cec4b94af05e3d3f30e80cc Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 11 Feb 2006 17:14:09 +0000 Subject: Revert based on Tom's recommendation: > Allow VACUUM to complete faster by avoiding scanning the indexes when no > rows were removed from the heap by the VACUUM. --- src/backend/access/index/indexam.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/backend/access/index') diff --git a/src/backend/access/index/indexam.c b/src/backend/access/index/indexam.c index 0365ae79424..6a681192caf 100644 --- a/src/backend/access/index/indexam.c +++ b/src/backend/access/index/indexam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/backend/access/index/indexam.c,v 1.88 2006/02/11 16:59:09 momjian Exp $ + * $PostgreSQL: pgsql/src/backend/access/index/indexam.c,v 1.89 2006/02/11 17:14:08 momjian Exp $ * * INTERFACE ROUTINES * index_open - open an index relation by relation OID @@ -685,11 +685,6 @@ index_getmulti(IndexScanDesc scan, * callback routine tells whether a given main-heap tuple is * to be deleted * - * passing NULL callback_state can be interpreted by the - * index access method as meaning that the index does not need - * to be scanned in logical sequence to remove rows for this call - * index_vacuum_cleanup is always required after this, however. - * * return value is an optional palloc'd struct of statistics * ---------------- */ -- cgit v1.2.3