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

Commit70508ba

Browse files
committed
Make btree index structure adjustments and WAL logging changes needed to
support btree compaction, as per proposal of a few days ago. btree indexpages no longer store parent links, instead they have a level indicator(counting up from zero for leaf pages). The FixBTree recovery logic isremoved, and replaced by code that detects missing parent-level insertionsduring WAL replay. Also, generate appropriate WAL entries when updatingbtree metapage and when building a btree index from scratch. I believebtree indexes are now completely WAL-legal for the first time.initdb forced due to index and WAL changes.
1 parent4df0f1d commit70508ba

File tree

13 files changed

+2070
-1766
lines changed

13 files changed

+2070
-1766
lines changed

‎src/backend/access/nbtree/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Makefile for access/nbtree
55
#
66
# IDENTIFICATION
7-
# $Header: /cvsroot/pgsql/src/backend/access/nbtree/Makefile,v 1.11 2001/07/15 22:48:16 tgl Exp $
7+
# $Header: /cvsroot/pgsql/src/backend/access/nbtree/Makefile,v 1.12 2003/02/21 00:06:21 tgl Exp $
88
#
99
#-------------------------------------------------------------------------
1010

@@ -13,7 +13,7 @@ top_builddir = ../../../..
1313
include$(top_builddir)/src/Makefile.global
1414

1515
OBJS = nbtcompare.o nbtinsert.o nbtpage.o nbtree.o nbtsearch.o\
16-
nbtstrat.o nbtutils.o nbtsort.o
16+
nbtstrat.o nbtutils.o nbtsort.o nbtxlog.o
1717

1818
all: SUBSYS.o
1919

‎src/backend/access/nbtree/README

Lines changed: 371 additions & 179 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp