Avatar for the prisma user
prisma
prisma-engines
BlogDocsChangelog

Performance History

Latest Results

fix(quaint): add url decode for non-ascii db names (#5750) Description ## Summary Fix connection failure when using databases with non-ASCII names (e.g., Chinese characters like `测试库`). ## Problem When connecting to a PostgreSQL database with a non-ASCII name, the URL must be percent-encoded: postgresql://user:pass@localhost:5432/%E6%B5%8B%E8%AF%95%E5%BA%93 Previously, `dbname()` returned the encoded string `%E6%B5%8B%E8%AF%95%E5%BA%93` as-is, causing: Error: Database does not exist: %E6%B5%8B%E8%AF%95%E5%BA%93 for Example my database ![2026-01-18_15-23-24](https://github.com/user-attachments/assets/78b2a7f1-83e4-46d3-a47b-f581735eed7e) <img width="1765" height="452" alt="스크린샷 2026-01-25 20-24-00" src="https://github.com/user-attachments/assets/9b049e61-b223-49f8-9c6a-cd23e1cbddf3" /> ## Solution - Decode percent-encoded path segment in `PostgresNativeUrl::dbname()` using `percent_decode` - Change return type from `&str` to `Cow<'_, str>` to handle decoded strings - Update dependent code in connection_info, schema-engine, and qe-setup ## Test Plan - [x] Unit tests for percent-decoding logic (Chinese, spaces, special characters) - [x] Integration test connecting to real PostgreSQL with Chinese database name ## Before/After **Before (bug exists):** Connecting to: postgresql://.../%E6%B5%8B%E8%AF%95%E5%BA%93 ❌ Connection FAILED Error: Database does not exist: %E6%B5%8B%E8%AF%95%E5%BA%93 **After (fixed):** Connecting to: postgresql://.../%E6%B5%8B%E8%AF%95%E5%BA%93 ✅ Connection SUCCESS **Relation** https://github.com/prisma/prisma/issues/26886
main
18 hours ago
fix(quaint): add url decode for chiness db name
dimsssss:fix/db-name-url-decode
20 hours ago
Fix rustfmt import order
polaz:fix/#1-bigint-json-cast
4 days ago
Add UnsignedBigInt JSON cast test
polaz:fix/#1-bigint-json-cast
5 days ago

Active Branches

chore: minor fixes on qc parameterization
last run
13 days ago
#5747
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home Terms Privacy Docs