In reading the 7.4.2 docs, the sql reference page for PREPARE doesn't
authorBruce Momjian
Mon, 19 Apr 2004 23:36:48 +0000 (23:36 +0000)
committerBruce Momjian
Mon, 19 Apr 2004 23:36:48 +0000 (23:36 +0000)
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

doc/src/sgml/ref/prepare.sgml

index 780c5231c4b48b7eb3030a2e5930dd58eafb71a5..6a77048c3eb8094bef5e42787ed2c27d32953882 100644 (file)
@@ -1,5 +1,5 @@
 
 
@@ -54,10 +54,11 @@ PREPARE plan_name [ (
   
    Prepared statements only last for the duration of the current
    database session. When the session ends, the prepared statement is
-   forgotten, so it must be recreated before being used again. 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.
+   forgotten, so it must be recreated before being used again. 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.