pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: tgl@postgresql.org
To: pgsql-committers@postgresql.org
Subject: pgsql: If we expect a hash join to be performed in multiple batches,
Date: Thu, 26 Mar 2009 17:15:35 +0000 (UTC)
Message-ID: <20090326171535.6B9BF754ADE@cvs.postgresql.org> (raw)

Log Message:
-----------
If we expect a hash join to be performed in multiple batches, suppress
"physical tlist" optimization on the outer relation (ie, force a projection
step to occur in its scan).  This avoids storing useless column values when
the outer relation's tuples are written to temporary batch files.

Modified version of a patch by Michael Henderson and Ramon Lawrence.

Modified Files:
--------------
    pgsql/src/backend/nodes:
        outfuncs.c (r1.355 -> r1.356)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/nodes/outfuncs.c?r1=1.355&r2=1.356)
    pgsql/src/backend/optimizer/path:
        costsize.c (r1.205 -> r1.206)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/path/costsize.c?r1=1.205&r2...)
    pgsql/src/backend/optimizer/plan:
        createplan.c (r1.256 -> r1.257)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/plan/createplan.c?r1=1.256&...)
    pgsql/src/backend/optimizer/util:
        pathnode.c (r1.150 -> r1.151)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/pathnode.c?r1=1.150&r2...)
    pgsql/src/include/nodes:
        relation.h (r1.170 -> r1.171)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/relation.h?r1=1.170&r2=1.171)



Message-ID: <20090326171535.6B9BF754ADE@cvs.postgresql.org>
Permalink:  ../20090326171535.6B9BF754ADE@cvs.postgresql.org/
Also on:    postgresql.org/message-id/20090326171535.6B9BF754ADE@cvs.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@postgresql.org
  Subject: Re: pgsql: If we expect a hash join to be performed in multiple batches,
  In-Reply-To: <20090326171535.6B9BF754ADE@cvs.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox