add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
10 rows affected
QUERY PLAN
Bitmap Heap Scan on posts (cost=16.03..25.51 rows=4 width=68) (actual time=0.013..0.014 rows=0 loops=1)
  Recheck Cond: ('''alic'''::tsquery @@ to_tsvector('english'::regconfig, ((title || ' '::text) || content)))
  -> Bitmap Index Scan on post_search (cost=0.00..16.03 rows=4 width=0) (actual time=0.012..0.012 rows=0 loops=1)
        Index Cond: ('''alic'''::tsquery @@ to_tsvector('english'::regconfig, ((title || ' '::text) || content)))
Planning Time: 0.192 ms
Execution Time: 0.039 ms