Fixed issue with uninitialized pages - fixes #41

This commit is contained in:
Andrew Kane
2022-11-02 11:01:47 -07:00
parent a57ca81d8f
commit 349d844fa1
2 changed files with 2 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
## 0.3.1 (unreleased)
- Fixed segmentation fault with index creation when lists > 6500
- Fixed issue with uninitialized pages
## 0.3.0 (2022-10-15)

View File

@@ -99,7 +99,7 @@ InsertTuple(Relation rel, IndexTuple itup, Relation heapRel, Datum *values)
{
/* Add a new page */
Buffer newbuf = IvfflatNewBuffer(rel, MAIN_FORKNUM);
Page newpage = GenericXLogRegisterBuffer(state, buf, GENERIC_XLOG_FULL_IMAGE);
Page newpage = GenericXLogRegisterBuffer(state, newbuf, GENERIC_XLOG_FULL_IMAGE);
insertPage = BufferGetBlockNumber(newbuf);