diff options
author | Bruce Momjian <bruce@momjian.us> | 2006-02-11 17:14:09 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2006-02-11 17:14:09 +0000 |
commit | 77bb65d3fcdd2b588cec4b94af05e3d3f30e80cc (patch) | |
tree | 36929633459fe21c8eae3a03bfcdb1e1e5a6511d /src/backend/access/index/indexam.c | |
parent | bf324946b32736da1b128b1e742515879b42a4e8 (diff) | |
download | postgresql-77bb65d3fcdd2b588cec4b94af05e3d3f30e80cc.tar.gz postgresql-77bb65d3fcdd2b588cec4b94af05e3d3f30e80cc.zip |
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.
Diffstat (limited to 'src/backend/access/index/indexam.c')
-rw-r--r-- | src/backend/access/index/indexam.c | 7 |
1 files changed, 1 insertions, 6 deletions
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 * ---------------- */ |