Conversation

I ๐Ÿ’— (and compatible ones - this is doing the same thanks to reusing the PG code). A select min() and max() reads both ends of the index. IIIRW Oracle doesn't have this transformation.
create table t (a int); 
create index i on t(a asc);
explain select min(a),max(a) from t;

                       QUERY PLAN
---------------------------------------------------------
 Result
   InitPlan 1 (returns $0)
     ->  Limit
           ->  Index Only Scan using i on t
                 Index Cond: (a IS NOT NULL)
   InitPlan 2 (returns $1)
     ->  Limit
           ->  Index Only Scan Backward using i on t t_1
                 Index Cond: (a IS NOT NULL)
(9 rows)
2
34