|
|
@ -65,15 +65,11 @@ COMMIT; |
|
|
|
SELECT bt_index_check('bttest_multi_idx'); |
|
|
|
SELECT bt_index_check('bttest_multi_idx'); |
|
|
|
-- more expansive test for index with included columns |
|
|
|
-- more expansive test for index with included columns |
|
|
|
SELECT bt_index_parent_check('bttest_multi_idx', true); |
|
|
|
SELECT bt_index_parent_check('bttest_multi_idx', true); |
|
|
|
SELECT bt_index_parent_check('bttest_multi_idx', true); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- repeat same checks with index made by insertions |
|
|
|
-- repeat expansive test for index built using insertions |
|
|
|
TRUNCATE bttest_multi; |
|
|
|
TRUNCATE bttest_multi; |
|
|
|
INSERT INTO bttest_multi SELECT i, i%2 FROM generate_series(1, 100000) as i; |
|
|
|
INSERT INTO bttest_multi SELECT i, i%2 FROM generate_series(1, 100000) as i; |
|
|
|
SELECT bt_index_check('bttest_multi_idx'); |
|
|
|
|
|
|
|
SELECT bt_index_parent_check('bttest_multi_idx', true); |
|
|
|
SELECT bt_index_parent_check('bttest_multi_idx', true); |
|
|
|
SELECT bt_index_parent_check('bttest_multi_idx', true); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-- cleanup |
|
|
|
-- cleanup |
|
|
|
DROP TABLE bttest_a; |
|
|
|
DROP TABLE bttest_a; |
|
|
|