pgsql: Tweak nodeBitmapAnd to stop evaluating sub-plan scans if it finds

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Tweak nodeBitmapAnd to stop evaluating sub-plan scans if it finds
Date: 2005-08-28 22:47:20
Message-ID: 20050828224720.F37E7D8033@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Tweak nodeBitmapAnd to stop evaluating sub-plan scans if it finds it's
got an empty bitmap after any step; the remaining subplans can no longer
affect the result. Per a suggestion from Ilia Kantor.

Modified Files:
--------------
pgsql/src/backend/executor:
nodeBitmapAnd.c (r1.2 -> r1.3)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeBitmapAnd.c.diff?r1=1.2&r2=1.3)
pgsql/src/backend/nodes:
tidbitmap.c (r1.5 -> r1.6)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/tidbitmap.c.diff?r1=1.5&r2=1.6)
pgsql/src/backend/optimizer/path:
indxpath.c (r1.187 -> r1.188)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/indxpath.c.diff?r1=1.187&r2=1.188)
pgsql/src/include/nodes:
tidbitmap.h (r1.1 -> r1.2)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/tidbitmap.h.diff?r1=1.1&r2=1.2)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-08-29 00:41:34 pgsql: Sigh, looks like you need '.set mips2' before you can access MIPS
Previous Message Bruce Momjian 2005-08-28 22:21:47 pgsql: Fix initdb quoting for Win32 paths in final examples, per Dave