aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/gist.h
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/include/access/gist.h
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/include/access/gist.h')
-rw-r--r--src/include/access/gist.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/include/access/gist.h b/src/include/access/gist.h
index ee060e83c2b..44fe84ee38b 100644
--- a/src/include/access/gist.h
+++ b/src/include/access/gist.h
@@ -9,7 +9,7 @@
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/gist.h,v 1.48 2005/06/27 12:45:22 teodor Exp $
+ * $PostgreSQL: pgsql/src/include/access/gist.h,v 1.49 2005/06/30 17:52:14 teodor Exp $
*
*-------------------------------------------------------------------------
*/
@@ -45,13 +45,7 @@ typedef XLogRecPtr GistNSN;
typedef struct GISTPageOpaqueData
{
- uint8 flags;
-
- /* number page to which current one is splitted in last split */
- uint8 nsplited;
-
- /* level of page, 0 - leaf */
- uint16 level;
+ uint32 flags; /* 29 bits are unused for now */
BlockNumber rightlink;
/* the only meaning - change this value if