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

pgsql: Refactor crosstab() to build and return a tuplestore instead of

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Refactor crosstab() to build and return a tuplestore instead of
Date: 2008-12-01 01:30:18
Message-ID: 20081201013018.E2C407545A4@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Refactor crosstab() to build and return a tuplestore instead of using
value-per-call mode.  This should be more efficient in normal usage,
but the real problem with the prior coding was that it returned with
a SPI call still active.  That could cause problems if execution was
interleaved with anything else that might use SPI.

Modified Files:
--------------
    pgsql/contrib/tablefunc:
        tablefunc.c (r1.56 -> r1.57)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/contrib/tablefunc/tablefunc.c?r1=1.56&r2=1.57)

pgsql-committers by date

Next:From: User FxjrDate: 2008-12-01 02:44:28
Subject: npgsql - Npgsql2: [#1010488] NgsqlParameter of type containing DBNull
Previous:From: Tom LaneDate: 2008-11-30 23:24:08
Subject: pgsql: Fix dblink and tablefunc to not return with the wrong

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