Skip to content
Discussion options

You must be logged in to vote

Not today, and JDBC does not change it. Postgres driver attaches buffered RAISE NOTICE messages after your statement finishes, and JDBC agent reads getWarnings() after execution too. Live output needs new code, so open an issue asking for it.

let client = checkout_postgres_client(pool, None, super::connection_timeout()).await?;
let client = &EncodingClient::new(&client);
// Drop stale notices from infrastructure statements so only messages raised
// by this statement are attached to its result.
let _ = drain_postgres_notices(client).await;
let result = if postgres_stateme…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by t8y2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants