sql-gen icon indicating copy to clipboard operation
sql-gen copied to clipboard

postgresql:// is inferred as mysql.

Open Blankeos opened this issue 7 months ago • 0 comments

I think there are two valid URLs for postgres:

  • postgres://
  • postgresql://

This lib currently only supports postgres://

It fails on postgresql:// and says:

thread 'main' panicked at /Users/carlo/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sql-gen-0.2.3/src/main.rs:126:18:
Failed to connect to mysql container: PoolTimedOut
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Blankeos avatar Jul 18 '25 12:07 Blankeos