Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save pedroandrade/85258f9371d68583854b to your computer and use it in GitHub Desktop.

Select an option

Save pedroandrade/85258f9371d68583854b to your computer and use it in GitHub Desktop.
QUERY PLAN
Aggregate (cost=8.45..8.46 rows=1 width=4) (actual time=0.032..0.032 rows=1 loops=1)
-> Index Scan using index_units_on_outpost_id on units (cost=0.43..8.45 rows=1 width=4) (actual time=0.026..0.027 rows=1 loops=1)
Index Cond: (outpost_id = 276)
Filter: ((NOT blocked) AND (suspended_at IS NULL) AND seller_received AND ((state)::text = ANY ('{authorized,completed,seller_paid}'::text[])))
Planning time: 0.239 ms
Execution time: 0.073 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment