Skip to content

Commit 691c9c6

Browse files
committed
Use typedef for RBTNode instead of define
1 parent 74769d8 commit 691c9c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/rum.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ extern bool rumvalidate(Oid opclassoid);
774774

775775
/* rumbulk.c */
776776
#if PG_VERSION_NUM <= 100006
777-
#define RBTNode RBNode
777+
typedef RBNode RBTNode;
778778
#endif
779779

780780
typedef struct RumEntryAccumulator

src/rumbtree.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,7 @@ rumInsertValue(Relation index, RumBtree btree, RumBtreeStack * stack,
527527
else
528528
{
529529
BlockNumber rightrightBlkno = InvalidBlockNumber;
530-
Buffer rightrightBuffer;
530+
Buffer rightrightBuffer = InvalidBuffer;
531531

532532
/* split non-root page */
533533
if (btree->rumstate->isBuild)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy