Skip to content

Commit

Permalink
Update extra_float_digits default to 2 instead of 3 (#2832)
Browse files Browse the repository at this point in the history
  • Loading branch information
brianheineman authored Nov 4, 2023
1 parent 220bf93 commit 92523f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-postgres/src/options/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ impl PgConnectOptions {
.unwrap_or_default(),
statement_cache_capacity: 100,
application_name: var("PGAPPNAME").ok(),
extra_float_digits: Some("3".into()),
extra_float_digits: Some("2".into()),
log_settings: Default::default(),
options: var("PGOPTIONS").ok(),
}
Expand Down

0 comments on commit 92523f3

Please sign in to comment.