diff options
Diffstat (limited to 'doc/src/sgml/protocol.sgml')
-rw-r--r-- | doc/src/sgml/protocol.sgml | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/doc/src/sgml/protocol.sgml b/doc/src/sgml/protocol.sgml index d985204566c..c7df697845e 100644 --- a/doc/src/sgml/protocol.sgml +++ b/doc/src/sgml/protocol.sgml @@ -3011,16 +3011,9 @@ CommandComplete (B) <literal>INSERT <replaceable>oid</replaceable> <replaceable>rows</replaceable></literal>, where <replaceable>rows</replaceable> is the number of rows - inserted. However, if and only if <literal>ON CONFLICT - UPDATE</> is specified, then the tag is <literal>UPSERT - <replaceable>oid</replaceable> - <replaceable>rows</replaceable></literal>, where - <replaceable>rows</replaceable> is the number of rows inserted - <emphasis>or updated</emphasis>. - <replaceable>oid</replaceable> is the object ID of the - inserted row if <replaceable>rows</replaceable> is 1 and the - target table has OIDs, and (for the <literal>UPSERT</literal> - tag), the row was actually inserted rather than updated; + inserted. <replaceable>oid</replaceable> is the object ID + of the inserted row if <replaceable>rows</replaceable> is 1 + and the target table has OIDs; otherwise <replaceable>oid</replaceable> is 0. </para> |