pgsql: Add SPI-level support for executing SQL commands with - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Add SPI-level support for executing SQL commands with
Date
Msg-id 20080401030930.9E4087558E7@cvs.postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Add SPI-level support for executing SQL commands with one-time-use plans,
that is commands that have out-of-line parameters but the plan is prepared
assuming that the parameter values are constants.  This is needed for the
plpgsql EXECUTE USING patch, but will probably have use elsewhere.

This commit includes the SPI functions and documentation, but no callers
nor regression tests.  The upcoming EXECUTE USING patch will provide
regression-test coverage.  I thought committing this separately made
sense since it's logically a distinct feature.

Modified Files:
--------------
    pgsql/doc/src/sgml:
        spi.sgml (r1.61 -> r1.62)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/doc/src/sgml/spi.sgml?r1=1.61&r2=1.62)
    pgsql/src/backend/executor:
        spi.c (r1.191 -> r1.192)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/spi.c?r1=1.191&r2=1.192)
    pgsql/src/include/executor:
        spi.h (r1.65 -> r1.66)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/include/executor/spi.h?r1=1.65&r2=1.66)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix an oversight I made in a cleanup patch over a year ago:
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Support EXECUTE USING in plpgsql.