Austin Bonander

Results 748 comments of Austin Bonander

This is a problem we've known about for a while but weren't quite sure how to address. In the context of other ongoing discussions the `sqlx::macros!(driver = "any")` solution was...

There are two ways you could do this right now: You can pass the flags at compile time with an environment variable: https://github.com/rusqlite/rusqlite?tab=readme-ov-file#notes-on-building-rusqlite-and-libsqlite3-sys ``` export LIBSQLITE3_FLAGS="-DSQLITE_MAX_LENGTH=123456789 -DSQLITE_MAX_COLUMN=100" cargo build ```...

This is technically a breaking behavior change as well, because anyone who's already manually escaping options will get different, likely incorrect, results after this patch. This should also document that...

> This would leak implementation details and keep a foot gun around, so I’d caution against that. 1. It's a detail of the underlying protocol, which _can_ be important to...

Fortunately, there is no vulnerability because [we reserved `cargo-sqlx` way back when we first launched](https://crates.io/crates/cargo-sqlx). Thus, we can guarantee that `cargo install cargo-sqlx` will, at worst, do nothing. Typo-squatting is...

> I upgrade sqlx from 0.7.4 to 0.8.0 and get this error even using with-postgis-sqlx feature. That's _because_ you upgraded to 0.8.0. It's a non-compatible version. `geozero` needs to cut...

This design does not fully parse the query strings. The only syntax it's aware of is string literals so it avoids parsing `{}` pairs inside strings, and that's pretty standard...

[Redshift doesn't support object identifier types](https://docs.aws.amazon.com/redshift/latest/dg/c_unsupported-postgresql-datatypes.html), so we can't perform any of the introspection queries we normally do to get information about a type: https://github.com/launchbadge/sqlx/blob/154878547e7e78c42bf97a34dccd745edbce2ef3/sqlx-postgres/src/connection/describe.rs#L204 Fortunately, Redshift _also_ doesn't support...

I have no strong opinions on `jiff` yet but I think I'd like to give it some time to mature. It's still in its first release cycle. See also this...

I'm tossing around the idea of adding a couple new traits, roughly like so: ```rust pub trait DecodeAs { type Error: Error + Send + Sync + 'static; fn decode_as(row:...