aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistvacuum.c
diff options
context:
space:
mode:
authorTeodor Sigaev <teodor@sigaev.ru>2005-06-30 17:52:14 +0000
committerTeodor Sigaev <teodor@sigaev.ru>2005-06-30 17:52:14 +0000
commit898a7bd13bb9d5ae36d2defcf3bbed3bd1d5ffd6 (patch)
treed4973dbb3c3f10bfc7becb9199f3b0b7b233c9c3 /src/backend/access/gist/gistvacuum.c
parent7a30b1fb966fb14852ebe6bea35d801792f2cc61 (diff)
downloadpostgresql-898a7bd13bb9d5ae36d2defcf3bbed3bd1d5ffd6.tar.gz
postgresql-898a7bd13bb9d5ae36d2defcf3bbed3bd1d5ffd6.zip
Bug fixes for GiST crash recovery.
- add forgotten check of lsn for insert completion - remove level of pages: hard to check in recovery - some cleanups
Diffstat (limited to 'src/backend/access/gist/gistvacuum.c')
-rw-r--r--src/backend/access/gist/gistvacuum.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/access/gist/gistvacuum.c b/src/backend/access/gist/gistvacuum.c
index cf6d89d27b1..381cf985590 100644
--- a/src/backend/access/gist/gistvacuum.c
+++ b/src/backend/access/gist/gistvacuum.c
@@ -8,7 +8,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/backend/access/gist/gistvacuum.c,v 1.5 2005/06/29 14:06:14 teodor Exp $
+ * $PostgreSQL: pgsql/src/backend/access/gist/gistvacuum.c,v 1.6 2005/06/30 17:52:14 teodor Exp $
*
*-------------------------------------------------------------------------
*/
@@ -60,7 +60,6 @@ gistVacuumUpdate( GistVacuum *gv, BlockNumber blkno, bool needunion ) {
page = (Page) BufferGetPage(buffer);
maxoff = PageGetMaxOffsetNumber(page);
-
if ( GistPageIsLeaf(page) ) {
if ( GistTuplesDeleted(page) ) {
needunion = needwrite = true;