Skip to content

fix: Box the BigDecimal values in the Postgres proxy row conversion - #3254

Closed
pedrocicoleme wants to merge 1 commit into
SeaQL:masterfrom
pedrocicoleme:sofira/proxy-bigdecimal-rc41
Closed

pedrocicoleme wants to merge 1 commit into
SeaQL:masterfrom
pedrocicoleme:sofira/proxy-bigdecimal-rc41

Conversation

@pedrocicoleme

Copy link
Copy Markdown

sea-query 1.0 stores Value::BigDecimal as Option<Box>. The NUMERIC and NUMERIC[] arms of from_sqlx_postgres_row_to_proxy_row passed the value unboxed, so the crate did not compile with the features proxy and with-bigdecimal together. Same change as upstream master (PR #3220), applied on top of tag 2.0.0-rc.41 only.

PR Info

  • Closes

Dependencies

Dependents

Checklist

  • I have read the AI Policy and confirm that this contribution complies with it.
  • I used an LLM to generate this PR description or my replies, and I agree that maintainers may use LLMs to respond and may close this PR without providing a reason. (Deleting this checklist item is also considered agreement to these terms.)

Release Notes

sea-query 1.0 stores Value::BigDecimal as Option<Box<BigDecimal>>. The NUMERIC and NUMERIC[] arms of from_sqlx_postgres_row_to_proxy_row passed the value unboxed, so the crate did not compile with the features proxy and with-bigdecimal together. Same change as upstream master (PR SeaQL#3220), applied on top of tag 2.0.0-rc.41 only.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@pedrocicoleme
pedrocicoleme deleted the sofira/proxy-bigdecimal-rc41 branch November 5, 2026 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant