mirror of
https://github.com/pgvector/pgvector.git
synced 2026-06-06 05:51:21 +08:00
Fixed issue with uninitialized pages - fixes #41
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user