PostgreSQL - Indexing Strategies
How can you combine a covering index with a partial index to optimize queries on
orders where status = 'pending' and select order_id and customer_name?