@@ -780,7 +780,6 @@ explain (costs off)
780780 -> Index Only Scan Backward using minmaxtest2i on minmaxtest2
781781 Index Cond: (f1 IS NOT NULL)
782782 -> Index Only Scan using minmaxtest3i on minmaxtest3
783- Index Cond: (f1 IS NOT NULL)
784783 InitPlan 2 (returns $1)
785784 -> Limit
786785 -> Merge Append
@@ -792,8 +791,7 @@ explain (costs off)
792791 -> Index Only Scan using minmaxtest2i on minmaxtest2 minmaxtest2_1
793792 Index Cond: (f1 IS NOT NULL)
794793 -> Index Only Scan Backward using minmaxtest3i on minmaxtest3 minmaxtest3_1
795- Index Cond: (f1 IS NOT NULL)
796- (25 rows)
794+ (23 rows)
797795
798796select min(f1), max(f1) from minmaxtest;
799797 min | max
@@ -819,7 +817,6 @@ explain (costs off)
819817 -> Index Only Scan Backward using minmaxtest2i on minmaxtest2
820818 Index Cond: (f1 IS NOT NULL)
821819 -> Index Only Scan using minmaxtest3i on minmaxtest3
822- Index Cond: (f1 IS NOT NULL)
823820 InitPlan 2 (returns $1)
824821 -> Limit
825822 -> Merge Append
@@ -831,9 +828,8 @@ explain (costs off)
831828 -> Index Only Scan using minmaxtest2i on minmaxtest2 minmaxtest2_1
832829 Index Cond: (f1 IS NOT NULL)
833830 -> Index Only Scan Backward using minmaxtest3i on minmaxtest3 minmaxtest3_1
834- Index Cond: (f1 IS NOT NULL)
835831 -> Result
836- (27 rows)
832+ (25 rows)
837833
838834select distinct min(f1), max(f1) from minmaxtest;
839835 min | max
0 commit comments