simonw / db-to-sqlite

CLI tool for exporting tables or queries from any SQL database to a SQLite file
Apache License 2.0
368 stars 28 forks source link

Add option to set a PostgreSQL schema #29

Closed jdormit closed 3 years ago

jdormit commented 3 years ago

Without this change, you can't use db-to-sqlite to copy tables that are in a Postgres schema other than the default one public.

simonw commented 3 years ago

It's frustrating that this isn't part of the SQLAlchemy URL format! Thanks for the fix, looks good.

Dakuan commented 3 years ago

Any chance this can be merged?

simonw commented 3 years ago

This looks great, thank you very much!