10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b52dc7 commit 66decbfCopy full SHA for 66decbf
src/include/access/nbtree.h
@@ -7,7 +7,7 @@
7
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
8
* Portions Copyright (c) 1994, Regents of the University of California
9
*
10
- * $Id: nbtree.h,v 1.50 2001/01/24 19:43:19 momjian Exp $
+ * $Id: nbtree.h,v 1.51 2001/02/07 23:34:18 vadim Exp $
11
12
*-------------------------------------------------------------------------
13
*/
@@ -50,6 +50,10 @@ typedef BTPageOpaqueData *BTPageOpaque;
50
#define BTREE_METAPAGE 0 /* first page is meta */
51
#define BTREE_MAGIC 0x053162
52
53
+#define BTreeInvalidParent(opaque) \
54
+ (opaque->btpo_parent == InvalidBlockNumber || \
55
+ opaque->btpo_parent == BTREE_METAPAGE)
56
+
57
#define BTREE_VERSION 1
58
59
typedef struct BTMetaPageData
0 commit comments