Skip to content

Commit

Permalink
Merge pull request #113 from elmaxxo/elmaxxo/fix/flush-byte-is-not-co…
Browse files Browse the repository at this point in the history
…vered-in-decode

fix: flush byte is not covered in decode
  • Loading branch information
sunng87 committed Sep 27, 2023
2 parents f7f1b0a + eb82b88 commit a3d820d
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 a3d820d

Please sign in to comment.