Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove_unused_function
  • Loading branch information
niclaflamme committed Aug 10, 2025
commit 3349342eea0174a095965a9badbcba59c85bf66e
8 changes: 0 additions & 8 deletions pgdog/src/frontend/buffer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,14 +139,6 @@ impl Buffer {
.unwrap_or(false)
}

/// The client is setting state on the connection
/// which we can no longer ignore.
pub(crate) fn executable(&self) -> bool {
self.buffer
.iter()
.any(|m| ['E', 'Q', 'B'].contains(&m.code()))
}

/// Rewrite query in buffer.
pub fn rewrite(&mut self, query: &str) -> Result<(), Error> {
if self.buffer.iter().any(|c| c.code() != 'Q') {
Expand Down
Loading