Skip to content
Closed
Changes from all commits
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
7 changes: 5 additions & 2 deletions packages/cipherstash-proxy/src/postgresql/context/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -993,8 +993,11 @@ where
/// statement it replaced survives, so a Bind sent now would bind that statement instead.
/// PostgreSQL answers that earlier batch without waiting for the client, so this ends.
pub async fn wait_for_statement(&self, name: &Name) -> Result<(), Error> {
self.wait_while(|settings| settings.statement_uncertain(name))
.await
// DO NOT MERGE: disabled to show the integration tests fail without the wait
self.wait_while(|settings| {
settings.statement_uncertain(name) && std::hint::black_box(false)
})
.await
}

/// Waits until PostgreSQL has confirmed or rejected every setting change the client sent
Expand Down
Loading