QUERY PLAN
Aggregate (cost=108.57..108.58 rows=1 width=8)
-> Bitmap Heap Scan on tbl_schedules (cost=4.54..108.57 rows=1 width=0)
Recheck Cond: (created_by = 1000)
Filter: (NOT is_complete)
-> Bitmap Index Scan on tbl_schedules_created_by_idx (cost=0.00..4.54 rows=34 width=0)
Index Cond: (created_by = 1000)