Skip to content

Commit f0696ea

Browse files
committed
fix(postgres): regression of launchbadge#1449
``` error: error occurred while decoding column 0: data did not match any variant of untagged enum Explain at line 3 column 1 Error: --> tests/postgres/macros.rs:103:15 | 103 | let row = sqlx::query!(r#"CALL forty_two(null)"#) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info) error: could not compile `sqlx` (test "postgres-macros") due to previous error ```
1 parent 1d82d6f commit f0696ea

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

sqlx-postgres/src/connection/describe.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -494,8 +494,7 @@ enum Explain {
494494
QueryPlan(QueryPlan),
495495
/// The string "Utility Statement" -- returned for
496496
/// a CALL statement
497-
#[serde(rename = "Utility Statement")]
498-
UtilityStatement,
497+
UtilityStatement(String),
499498
}
500499

501500
#[derive(serde::Deserialize)]

0 commit comments

Comments
 (0)