Skip to content

Commit 9ae5f4b

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 9ae5f4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-postgres/src/connection/describe.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ enum Explain {
495495
/// The string "Utility Statement" -- returned for
496496
/// a CALL statement
497497
#[serde(rename = "Utility Statement")]
498-
UtilityStatement,
498+
UtilityStatement(String),
499499
}
500500

501501
#[derive(serde::Deserialize)]

0 commit comments

Comments
 (0)