By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 1000
CREATE FUNCTION
COMMENT
CREATE INDEX
| QUERY PLAN |
|---|
| Bitmap Heap Scan on tab (cost=20.15..54.83 rows=20 width=32) (actual time=0.021..0.022 rows=0 loops=1) |
| Recheck Cond: (to_tsvector('simple'::regconfig, arr_to_upper_string(col, ' '::text)) @@ '''orunc'':*'::tsquery) |
| -> Bitmap Index Scan on tab_col_tsv_gin_idx (cost=0.00..20.15 rows=20 width=0) (actual time=0.017..0.018 rows=0 loops=1) |
| Index Cond: (to_tsvector('simple'::regconfig, arr_to_upper_string(col, ' '::text)) @@ '''orunc'':*'::tsquery) |
| Planning Time: 0.840 ms |
| Execution Time: 0.065 ms |
EXPLAIN