Skip site navigation (1) Skip section navigation (2)

pgsql: Fix oversight in MIN/MAX optimization: must not return NULL

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix oversight in MIN/MAX optimization: must not return NULL
Date: 2005-04-12 05:11:29
Message-ID: 20050412051129.76C1053222@svr1.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix oversight in MIN/MAX optimization: must not return NULL entries
from index, since the aggregates ignore NULLs.

Modified Files:
--------------
    pgsql/src/backend/optimizer/plan:
        createplan.c (r1.178 -> r1.179)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/createplan.c.diff?r1=1.178&r2=1.179)
        planagg.c (r1.2 -> r1.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/planagg.c.diff?r1=1.2&r2=1.3)
    pgsql/src/include/optimizer:
        planmain.h (r1.81 -> r1.82)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/optimizer/planmain.h.diff?r1=1.81&r2=1.82)

pgsql-committers by date

Next:From: User DfetterDate: 2005-04-12 07:16:31
Subject: docbot - docbot: Fixed duplicates in queries.
Previous:From: User AndrewsnDate: 2005-04-12 04:53:32
Subject: newsysviews - newsysview: table constraints and foreign keys

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group