Log Message:
-----------
optimize_minmax_aggregates() neglected to check for inherited tables.
Per report from Cesar Paipilla.
Modified Files:
--------------
pgsql/src/backend/optimizer/plan:
planagg.c (r1.8 -> r1.9)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/planagg.c.diff?r1=1.8&r2=1.9)