git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f42ddc4)
Fix oversight in btpo.xact patch; it was in fact installing garbage
2010年3月19日 20:51:30 +0000 (20:51 +0000)
2010年3月19日 20:51:30 +0000 (20:51 +0000)
in the xact field on replay, due to not writing out all the data in
the wal log struct.


diff --git a/src/include/access/nbtree.h b/src/include/access/nbtree.h
index eb96b2ad488c0b9e5ebc63e3350f89d105dee490..15d8b321aef5d8d0bc05f6c3b376259630017e7e 100644 (file)
--- a/src/include/access/nbtree.h
+++ b/src/include/access/nbtree.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/access/nbtree.h,v 1.131 2010年03月19日 10:41:22 sriggs Exp $
+ * $PostgreSQL: pgsql/src/include/access/nbtree.h,v 1.132 2010年03月19日 20:51:30 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -387,7 +387,7 @@ typedef struct xl_btree_delete_page
/* xl_btree_metadata FOLLOWS IF XLOG_BTREE_DELETE_PAGE_META */
} xl_btree_delete_page;
-#define SizeOfBtreeDeletePage (offsetof(xl_btree_delete_page, rightblk) + sizeof(BlockNumber))
+#define SizeOfBtreeDeletePage (offsetof(xl_btree_delete_page, btpo_xact) + sizeof(TransactionId))
/*
* New root log record. There are zero tuples if this is to establish an
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /