From efa58e105da23aa145cb401ab615143239be9375 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Tue, 6 May 2003 23:10:04 +0000 Subject: [PATCH] Minor editorializing. --- doc/src/sgml/protocol.sgml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index ffaaa2004a..f1f5b1caa3 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -1,4 +1,4 @@ - + Frontend/Backend Protocol @@ -160,10 +160,11 @@ (but note that these exist only within a session, and are never shared across sessions). Existing prepared statements and portals are referenced by names assigned when they were created. In addition, - an unnamed prepared statement and portal exist, for use with - queries that are to be executed and forgotten. This is slightly - more efficient than using named objects, since the backend knows that - it need not save the object's state for re-use. + an unnamed prepared statement and portal exist. Although these + behave largely the same as named objects, operations on them are optimized + for the case of executing a query only once and then discarding it, + whereas operations on named objects are optimized on the expectation + of multiple uses. @@ -869,7 +870,8 @@ zero or more CopyData messages (always one per row), followed by CopyDone. The backend then reverts to the command-processing mode it was in before the COPY started, and sends CommandComplete. - The frontend cannot abort the transfer (short of closing the connection), + The frontend cannot abort the transfer (except by closing the connection + or issuing a Cancel request), but it can discard unwanted CopyData and CopyDone messages. @@ -2013,9 +2015,10 @@ CommandComplete (B) INSERT oid rows, where rows is the number of rows - inserted, and oid is the object ID - of the inserted row if rows is 1, - otherwise oid is 0. + inserted. oid is the object ID + of the inserted row if rows is 1 + and the target table has OIDs; + otherwise oid is 0.