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 6a38d97 commit 14c716cCopy full SHA for 14c716c
pgvectorscale/src/util/ports.rs
@@ -172,6 +172,8 @@ pub unsafe fn IndexBuildHeapScanParallel<T>(
172
build_callback_state: *mut T,
173
tablescandesc: *mut pg_sys::ParallelTableScanDescData,
174
) {
175
+ let scan = pg_sys::table_beginscan_parallel(heap_relation, tablescandesc);
176
+
177
let heap_relation_ref = heap_relation.as_ref().unwrap();
178
let table_am = heap_relation_ref.rd_tableam.as_ref().unwrap();
179
@@ -186,6 +188,6 @@ pub unsafe fn IndexBuildHeapScanParallel<T>(
186
188
pg_sys::InvalidBlockNumber, // end_blockno
187
189
build_callback,
190
build_callback_state as *mut std::os::raw::c_void,
- tablescandesc as *mut pg_sys::TableScanDescData,
191
+ scan,
192
);
193
}
0 commit comments