We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da8d5e6 commit 5ca5d65Copy full SHA for 5ca5d65
pgdog/src/backend/server.rs
@@ -417,7 +417,11 @@ impl Server {
417
let cmd = CommandComplete::from_bytes(message.to_bytes()?)?;
418
match cmd.command() {
419
"PREPARE" | "DEALLOCATE" => self.sync_prepared = true,
420
- "DEALLOCATE ALL" | "DISCARD ALL" => self.prepared_statements.clear(),
+ "DEALLOCATE ALL" => self.prepared_statements.clear(),
421
+ "DISCARD ALL" => {
422
+ self.prepared_statements.clear();
423
+ self.client_params.clear();
424
+ }
425
"RESET" => self.client_params.clear(), // Someone reset params, we're gonna need to re-sync.
426
_ => (),
427
}
0 commit comments