Create the planner mechanism for optimizing simple MIN and MAX queries

Tom Lane <tgl@sss.pgh.pa.us>

Commit: addc42c339208d6a7a1d652fbf388e8aea7f80b9
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2005-04-11T23:06:57Z
Releases: 8.1.0
Create the planner mechanism for optimizing simple MIN and MAX queries
into indexscans on matching indexes.  For the moment, it only handles
int4 and text datatypes; next step is to add a column to pg_aggregate
so that all MIN/MAX aggregates can be handled.  Per my recent proposal.

Files