Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit865b295

Browse files
committed
Fix oversight in btpo.xact patch; it was in fact installing garbage
in the xact field on replay, due to not writing out all the data inthe wal log struct.
1 parentf42ddc4 commit865b295

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/include/access/nbtree.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $PostgreSQL: pgsql/src/include/access/nbtree.h,v 1.131 2010/03/1910:41:22 sriggs Exp $
10+
* $PostgreSQL: pgsql/src/include/access/nbtree.h,v 1.132 2010/03/1920:51:30 tgl Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -387,7 +387,7 @@ typedef struct xl_btree_delete_page
387387
/* xl_btree_metadata FOLLOWS IF XLOG_BTREE_DELETE_PAGE_META */
388388
}xl_btree_delete_page;
389389

390-
#defineSizeOfBtreeDeletePage(offsetof(xl_btree_delete_page,rightblk) + sizeof(BlockNumber))
390+
#defineSizeOfBtreeDeletePage(offsetof(xl_btree_delete_page,btpo_xact) + sizeof(TransactionId))
391391

392392
/*
393393
* New root log record. There are zero tuples if this is to establish an

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp