diff --git a/sqlx-postgres/src/protocol/backend/notice.rs b/sqlx-postgres/src/protocol/backend/notice.rs index f469b78c..51007df1 100644 --- a/sqlx-postgres/src/protocol/backend/notice.rs +++ b/sqlx-postgres/src/protocol/backend/notice.rs @@ -154,7 +154,7 @@ impl PgNotice { impl Display for PgNotice { fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { - write!(f, "{} [{}] {}", self.severity(), self.code(), self.message()) + write!(f, "{} ({}): {}", self.severity(), self.code(), self.message()) } }