Skip to content

Commit

Permalink
fix: flush byte is not covered in decode
Browse files Browse the repository at this point in the history
  • Loading branch information
elmaxxo committed Sep 26, 2023
1 parent f7f1b0a commit eb82b88
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/messages/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ impl PgWireFrontendMessage {
extendedquery::MESSAGE_TYPE_BYTE_EXECUTE => {
extendedquery::Execute::decode(buf).map(|v| v.map(Self::Execute))
}
extendedquery::MESSAGE_TYPE_BYTE_FLUSH => {
extendedquery::Flush::decode(buf).map(|v| v.map(Self::Flush))
}
extendedquery::MESSAGE_TYPE_BYTE_SYNC => {
extendedquery::Sync::decode(buf).map(|v| v.map(Self::Sync))
}
Expand Down

0 comments on commit eb82b88

Please sign in to comment.