-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
postgres: sqlx prepare fails if shared_preload_libraries=pg_stat_statements #2622
Comments
this is not a big deal really:
that being said I figured that it's worth reporting anyway |
It appears that it's somehow changing the output of the |
diff "Output": [
"1"
]
- },
- "Query Identifier": 1147616880456321400
+ }
}
]
|
Yeah, the parsing doesn't know what to do with thatb |
duplicates #2587
Bug Description
since sqlx-cli version >=0.7.0
sqlx prepare
fails if target database haspg_stat_statements
inshared_preload_libraries
bug doesn't exists in =0.6.3
Minimal Reproduction
docker-compose.yml
Cargo.toml
src/main.rs
sqlx-cli
cargo install --version 0.7.1 sqlx-cli
docker compose up db
DATABASE_URL
export DATABASE_URL="postgres://postgres:changeme@localhost:5432/test?sslmode=disable"
cargo sqlx prepare
docker-compose.yml
, stop database container and repeat steps6
and8
Info
rustc --version
: rustc 1.71.0 (8ede3aae2 2023-07-12)The text was updated successfully, but these errors were encountered: