write_sync

Function write_sync 

Source
pub fn write_sync(buf: &mut Vec<u8>)
Expand description

Write a Sync message.

This ends an extended query sequence and causes:

  • Implicit COMMIT if successful and not in explicit transaction
  • Implicit ROLLBACK if failed and not in explicit transaction
  • Server responds with ReadyForQuery