1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00
> * -Use indexes for MIN() and MAX()
This commit is contained in:
Bruce Momjian
2005-04-14 23:20:55 +00:00
parent 8e14408028
commit ad9201f982

View File

@ -2,7 +2,7 @@
TODO list for PostgreSQL TODO list for PostgreSQL
======================== ========================
Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us) Current maintainer: Bruce Momjian (pgman@candle.pha.pa.us)
Last updated: Sun Apr 10 19:21:33 EDT 2005 Last updated: Thu Apr 14 19:12:47 EDT 2005
The most recent version of this document can be viewed at the PostgreSQL web The most recent version of this document can be viewed at the PostgreSQL web
site, http://www.PostgreSQL.org. site, http://www.PostgreSQL.org.
@ -267,7 +267,7 @@ Indexes
* Add UNIQUE capability to non-btree indexes * Add UNIQUE capability to non-btree indexes
* Add rtree index support for line, lseg, path, point * Add rtree index support for line, lseg, path, point
* Use indexes for MIN() and MAX() * -Use indexes for MIN() and MAX()
MIN/MAX queries can already be rewritten as SELECT col FROM tab ORDER MIN/MAX queries can already be rewritten as SELECT col FROM tab ORDER
BY col {DESC} LIMIT 1. Completing this item involves doing this BY col {DESC} LIMIT 1. Completing this item involves doing this