Re:Postgres wire compatible SQLite proxy
by benbjohnson on Friday April 01, 2022 @11:43AM
(#30879379)
I agree with Simon. I think you could run tests against SQLite locally so they're quick but then run them against Postgres in CI to ensure it works against the database you're running on. There's a lot of subtle differences in how the two databases work even though they both support a lot of the same SQL syntax.
You could also run SQLite in production. Then you don't have to test against a different database locally. :)
You could also run SQLite in production. Then you don't have to test against a different database locally. :)