From: | tgl(at)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Add SPI-level support for executing SQL commands with |
Date: | 2008-04-01 03:09:30 |
Message-ID: | 20080401030930.9E4087558E7@cvs.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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)
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2008-04-01 03:51:10 | pgsql: Support EXECUTE USING in plpgsql. |
Previous Message | Tom Lane | 2008-04-01 00:48:45 | pgsql: Fix an oversight I made in a cleanup patch over a year ago: |