Lines Matching refs:btspool2

264 static void _bt_leafbuild(BTSpool *btspool, BTSpool *btspool2);
280 BTSpool *btspool, BTSpool *btspool2);
288 static void _bt_parallel_scan_and_sort(BTSpool *btspool, BTSpool *btspool2,
442 BTSpool *btspool2 = (BTSpool *) palloc0(sizeof(BTSpool)); in _bt_spools_heapscan() local
446 btspool2->heap = heap; in _bt_spools_heapscan()
447 btspool2->index = index; in _bt_spools_heapscan()
448 btspool2->isunique = false; in _bt_spools_heapscan()
450 buildstate->spool2 = btspool2; in _bt_spools_heapscan()
538 _bt_leafbuild(BTSpool *btspool, BTSpool *btspool2) in _bt_leafbuild() argument
554 if (btspool2) in _bt_leafbuild()
558 tuplesort_performsort(btspool2->sortstate); in _bt_leafbuild()
575 _bt_load(&wstate, btspool, btspool2); in _bt_leafbuild()
1181 _bt_load(BTWriteState *wstate, BTSpool *btspool, BTSpool *btspool2) in _bt_load() argument
1184 bool merge = (btspool2 != NULL); in _bt_load()
1207 itup2 = tuplesort_getindextuple(btspool2->sortstate, true); in _bt_load()
1299 itup2 = tuplesort_getindextuple(btspool2->sortstate, true); in _bt_load()
1800 BTSpool *btspool2; in _bt_parallel_build_main() local
1854 btspool2 = NULL; in _bt_parallel_build_main()
1860 btspool2 = (BTSpool *) palloc0(sizeof(BTSpool)); in _bt_parallel_build_main()
1863 btspool2->heap = btspool->heap; in _bt_parallel_build_main()
1864 btspool2->index = btspool->index; in _bt_parallel_build_main()
1865 btspool2->isunique = false; in _bt_parallel_build_main()
1876 _bt_parallel_scan_and_sort(btspool, btspool2, btshared, sharedsort, in _bt_parallel_build_main()
1910 _bt_parallel_scan_and_sort(BTSpool *btspool, BTSpool *btspool2, in _bt_parallel_scan_and_sort() argument
1937 if (btspool2) in _bt_parallel_scan_and_sort()
1951 btspool2->sortstate = in _bt_parallel_scan_and_sort()
1962 buildstate.spool2 = btspool2; in _bt_parallel_scan_and_sort()
1980 if (btspool2) in _bt_parallel_scan_and_sort()
1985 tuplesort_performsort(btspool2->sortstate); in _bt_parallel_scan_and_sort()
2007 if (btspool2) in _bt_parallel_scan_and_sort()
2008 tuplesort_end(btspool2->sortstate); in _bt_parallel_scan_and_sort()