// commented out, as the docu says: not used by any client implementation

// use crate::protocol::parts::option_part::OptionId;
// use crate::protocol::parts::option_part::OptionPart;

// // An Options part that is used by the client to specify HOLDCURSORSOVERCOMMIT.
// // If HOLDCURSORSOVERCOMMIT is set by the client on commit,
// // not only cursors marked explicitly as HOLD, but all cursors, are held.

// pub type CommitOptions = OptionPart<CommitOptionsId>;

// #[derive(Debug, Eq, PartialEq, Hash)]
// pub enum CommitOptionsId {
//     HoldCursorOverCommit, // 1 // BOOLEAN // Hold cursors
//     __Unexpected__(u8),
// }

// impl OptionId<CommitOptionsId> for CommitOptionsId {
//     fn to_u8(&self) -> u8 {
//         match *self {
//             CommitOptionsId::HoldCursorOverCommit => 1,
//             CommitOptionsId::__Unexpected__(val) => val,
//         }
//     }

//     fn from_u8(val: u8) -> CommitOptionsId {
//         match val {
//             1 => CommitOptionsId::HoldCursorOverCommit,
//             val => {
//                 warn!("Unsupported value for CommitOptionsId received: {}", val);
//                 CommitOptionsId::__Unexpected__(val)
//             }
//         }
//     }
// }
