git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5e08e49)
Remove unhelpful/misleading advice about how to use SPI_saveplan().
2006年9月10日 20:56:42 +0000 (20:56 +0000)
2006年9月10日 20:56:42 +0000 (20:56 +0000)
Per gripe from Jack Orenstein.


diff --git a/doc/src/sgml/spi.sgml b/doc/src/sgml/spi.sgml
index b19189632e6e52eca776cebe72fa46ed0cbd5286..b8c88555722288b68fdd9e1c7ed436e98084c93e 100644 (file)
--- a/doc/src/sgml/spi.sgml
+++ b/doc/src/sgml/spi.sgml
@@ -1,4 +1,4 @@
-<!-- $PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.47 2006年08月27日 23:47:57 tgl Exp $ -->
+<!-- $PostgreSQL: pgsql/doc/src/sgml/spi.sgml,v 1.48 2006年09月10日 20:56:42 tgl Exp $ -->
<chapter id="spi">
<title>Server Programming Interface</title>
@@ -1614,10 +1614,7 @@ void * SPI_saveplan(void * <parameter>plan</parameter>)
by <function>SPI_finish</function> and by the transaction manager
and returns a pointer to the saved plan. This gives you the
ability to reuse prepared plans in the subsequent invocations of
- your procedure in the current session. You may save the pointer
- returned in a local variable. Always check if this pointer is
- <symbol>NULL</symbol> or not either when preparing a plan or using
- an already prepared plan in <function>SPI_execute_plan</function>.
+ your procedure in the current session.
</para>
</refsect1>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /