Re:Show HN: PGlite – in-browser WASM Postgres with pgvector ...
by grsmvg on Tuesday August 13, 2024 @02:31PM
(#41238086)
What I always wonder is which people use SQLite to run tests for a Postgres application. Isn’t the difference in dialect pretty much always an issue unless you do only the most basic type of queries? pglite fills a hole where imho currently only dockerized Postgres sits
[ Parent
| on HN ]
Re:Show HN: PGlite – in-browser WASM Postgres with pgvector ...
by Kinrany on Tuesday August 13, 2024 @11:24PM
(#41242269)
You can write all queries twice and run the same test suite on both, then use sqlite in other tests. Of course at that point you can just use a struct that stores all the same data.