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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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)

Browse pgsql-committers by date

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