forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit238fb03
committed
Update description:
< * Allow ORDER BY ... LIMIT 1 to select high/low value without sort or> * Allow ORDER BY ... LIMIT # to select high/low value without sort or868c868< Right now, if no index exists, ORDER BY ... LIMIT 1 requires we sort> Right now, if no index exists, ORDER BY ... LIMIT # requires we sort870a871> MIN/MAX already does this, but not for LIMIT > 1.1 parent61cf535 commit238fb03
2 files changed
+8
-6
lines changedLines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2 | 2 |
| |
3 | 3 |
| |
4 | 4 |
| |
5 |
| - | |
| 5 | + | |
6 | 6 |
| |
7 | 7 |
| |
8 | 8 |
| |
| |||
862 | 862 |
| |
863 | 863 |
| |
864 | 864 |
| |
865 |
| - | |
| 865 | + | |
866 | 866 |
| |
867 | 867 |
| |
868 |
| - | |
| 868 | + | |
869 | 869 |
| |
870 | 870 |
| |
| 871 | + | |
871 | 872 |
| |
872 | 873 |
| |
873 | 874 |
| |
|
Lines changed: 4 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
8 | 8 |
| |
9 | 9 |
| |
10 | 10 |
| |
11 |
| - | |
| 11 | + | |
12 | 12 |
| |
13 | 13 |
| |
14 | 14 |
| |
| |||
787 | 787 |
| |
788 | 788 |
| |
789 | 789 |
| |
790 |
| - | |
| 790 | + | |
791 | 791 |
| |
792 |
| - | |
| 792 | + | |
793 | 793 |
| |
794 | 794 |
| |
| 795 | + | |
795 | 796 |
| |
796 | 797 |
| |
797 | 798 |
| |
|
0 commit comments
Comments
(0)