CommandComplete packet

The server sends a CommandComplete packet when a command (or query) has finished executing.


  • String getCommandTag() : returns the string describing the command. See the Postgres documentation for details. A typical example would be UPDATE 23 after an update affected 23 rows.

  • void setCommandTag(String s) : sets the string describing the command. Many database clients rely on the content of this string, therefore any changes should be done carefully.