We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db424d4 commit dd62f56Copy full SHA for dd62f56
src/backend/access/spgist/spgutils.c
@@ -517,10 +517,10 @@ allocNewBuffer(Relation index, int flags)
517
Buffer buffer;
518
519
buffer = SpGistNewBuffer(index);
520
- SpGistInitBuffer(buffer, pageflags);
521
522
if (pageflags & SPGIST_LEAF)
523
{
+ SpGistInitBuffer(buffer, pageflags);
524
/* Leaf pages have no parity concerns, so just use it */
525
return buffer;
526
}
@@ -531,6 +531,7 @@ allocNewBuffer(Relation index, int flags)
531
532
if ((flags & GBUF_PARITY_MASK) == blkFlags)
533
534
535
/* Page has right parity, use it */
536
537
0 commit comments