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

Commitb00326d

Browse files
Correct obsolete amcheck comments.
Oversight in commitdd299df.
1 parentf31111b commitb00326d

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

‎contrib/amcheck/verify_nbtree.c

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -798,23 +798,25 @@ bt_check_level_from_leftmost(BtreeCheckState *state, BtreeLevel level)
798798
* target page:
799799
*
800800
* - That every "real" data item is less than or equal to the high key, which
801-
* is an upper bound on the items on thepages (where there is a high key at
802-
*all -- pages that are rightmost lack one).
801+
* is an upper bound on the items on thepage. Data items should be
802+
*strictly less than the high key when the page is an internal page.
803803
*
804-
* - That within the page, every "real" item is less than or equal to the item
805-
* immediately to its right, if any (i.e., that the items are in order within
806-
* the page, so that the binary searches performed by index scans are sane).
804+
* - That within the page, every data item is strictly less than the item
805+
* immediately to its right, if any (i.e., that the items are in order
806+
* within the page, so that the binary searches performed by index scans are
807+
* sane).
807808
*
808-
* - That the last item stored on the page is less thanor equal tothe first
809-
*"real" data item on the page to the right (if such a first item is
809+
* - That the lastdataitem stored on the page isstrictlyless than the
810+
*first data item on the page to the right (when such a first item is
810811
* available).
811812
*
812-
* -That tuples report that they have the expected number of attributes.
813-
*INCLUDE indexpivot tuplesshould not contain non-key attributes.
813+
* -Various checks on the structure of tuples themselves. For example, check
814+
*that non-pivot tupleshave no truncated attributes.
814815
*
815816
* Furthermore, when state passed shows ShareLock held, function also checks:
816817
*
817-
* - That all child pages respect downlinks lower bound.
818+
* - That all child pages respect strict lower bound from parent's pivot
819+
* tuple.
818820
*
819821
* - That downlink to block was encountered in parent where that's expected.
820822
* (Limited to heapallindexed readonly callers.)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp