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

Commitf207bb0

Browse files
nbtree: Reorder nbtinsert.c prototypes.
Relocate _bt_newroot() prototype, so that the order that prototypesappear in matches the order that the functions are defined in.
1 parent70a7b47 commitf207bb0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎src/backend/access/nbtree/nbtinsert.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@
2929
#defineBTREE_FASTPATH_MIN_LEVEL2
3030

3131

32-
staticBuffer_bt_newroot(Relationrel,Bufferlbuf,Bufferrbuf);
33-
3432
staticTransactionId_bt_check_unique(Relationrel,BTInsertStateinsertstate,
3533
RelationheapRel,
3634
IndexUniqueCheckcheckUnique,bool*is_unique,
@@ -55,6 +53,7 @@ static Buffer _bt_split(Relation rel, BTScanInsert itup_key, Buffer buf,
5553
IndexTuplenposting,uint16postingoff);
5654
staticvoid_bt_insert_parent(Relationrel,Bufferbuf,Bufferrbuf,
5755
BTStackstack,boolis_root,boolis_only);
56+
staticBuffer_bt_newroot(Relationrel,Bufferlbuf,Bufferrbuf);
5857
staticbool_bt_pgaddtup(Pagepage,Sizeitemsize,IndexTupleitup,
5958
OffsetNumberitup_off);
6059
staticvoid_bt_vacuum_one_page(Relationrel,Bufferbuffer,RelationheapRel);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp