In reading the 7.4.2 docs, the sql reference page for PREPARE doesn't
reference DEALLOCATE in any way. It points to EXECUTE, but not to DEALLOCATE. Suggested fix: ... This also means that a single prepared statement cannot be used by multiple simultaneous database clients; however, each client can create their own prepared statement to use. The prepared statement can be manually cleaned up using the DEALLOCATE command. James Robinson
This commit is contained in:
parent
011c3e62e7
commit
d1b3915ce1
@ -1,5 +1,5 @@
|
|||||||
<!--
|
<!--
|
||||||
$PostgreSQL: pgsql/doc/src/sgml/ref/prepare.sgml,v 1.11 2004/01/26 17:26:31 neilc Exp $
|
$PostgreSQL: pgsql/doc/src/sgml/ref/prepare.sgml,v 1.12 2004/04/19 23:36:48 momjian Exp $
|
||||||
PostgreSQL documentation
|
PostgreSQL documentation
|
||||||
-->
|
-->
|
||||||
|
|
||||||
@ -56,8 +56,9 @@ PREPARE <replaceable class="PARAMETER">plan_name</replaceable> [ (<replaceable c
|
|||||||
database session. When the session ends, the prepared statement is
|
database session. When the session ends, the prepared statement is
|
||||||
forgotten, so it must be recreated before being used again. This
|
forgotten, so it must be recreated before being used again. This
|
||||||
also means that a single prepared statement cannot be used by
|
also means that a single prepared statement cannot be used by
|
||||||
multiple simultaneous database clients; however, each client can
|
multiple simultaneous database clients; however, each client can create
|
||||||
create their own prepared statement to use.
|
their own prepared statement to use. The prepared statement can be
|
||||||
|
manually cleaned up using the <command>DEALLOCATE</> command.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user