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

pgsql: Replace the array-style TupleTable data structure with a simple

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Replace the array-style TupleTable data structure with a simple
Date: 2009-09-27 20:09:58
Message-ID: 20090927200958.15153753FB7@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Replace the array-style TupleTable data structure with a simple List of
TupleTableSlot nodes.  This eliminates the need to count in advance
how many Slots will be needed, which seems more than worth the small
increase in the amount of palloc traffic during executor startup.

The ExecCountSlots infrastructure is now all dead code, but I'll remove it
in a separate commit for clarity.

Per a comment from Robert Haas.

Modified Files:
--------------
    pgsql/src/backend/executor:
        execMain.c (r1.328 -> r1.329)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c?r1=1.328&r2=1.329)
        execTuples.c (r1.109 -> r1.110)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execTuples.c?r1=1.109&r2=1.110)
        execUtils.c (r1.161 -> r1.162)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execUtils.c?r1=1.161&r2=1.162)
        nodeSubplan.c (r1.99 -> r1.100)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeSubplan.c?r1=1.99&r2=1.100)
    pgsql/src/include/executor:
        tuptable.h (r1.42 -> r1.43)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/tuptable.h?r1=1.42&r2=1.43)
    pgsql/src/include/nodes:
        execnodes.h (r1.207 -> r1.208)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/nodes/execnodes.h?r1=1.207&r2=1.208)

Responses

pgsql-committers by date

Next:From: Tom LaneDate: 2009-09-27 21:10:53
Subject: pgsql: Remove no-longer-needed ExecCountSlots infrastructure.
Previous:From: Tom LaneDate: 2009-09-27 03:43:10
Subject: pgsql: Make libpq reject non-numeric and out-of-range port numbers with

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