docs: Improve OptimisticExecute description
@@ -295,8 +295,16 @@ messages:
Execute the provided command text directly, assuming prior knowledge
of the :ref:`type descriptor <ref_proto_typedesc>` data. This allows
the client to perform the prepare/execute operation in a single step.
- The server responds with zero or more :ref:`ref_protocol_msg_data`
- messages, followed by a :ref:`ref_protocol_msg_command_complete`.
+
+ Client sends type descritor ids in this query. If type descriptors match
+ server's knowledge, the server responds with zero or more
+ :ref:`ref_protocol_msg_data` messages, followed by a
+ :ref:`ref_protocol_msg_command_complete`.
+
+ If type descriptors mismatch, server sends
+ :ref:`ref_protocol_msg_command_data_description`. And this statement
+ becomes currently prepared statement. The client is expected to
+ adjust the request data and send :ref:`ref_protocol_msg_execute`.
Implicit Transactions
