logoalt Hacker News

ErroneousBoshlast Saturday at 3:59 PM3 repliesview on HN

I've always just Postgressed everything. I used MySQL a bit in the PHP3 days, but eventually moved onto Postgres.

SQLite when prototyping, Postgres for production.

If you need to power a lawnmower and all you have is a 500bhp Scania V8, you may as well just do it.


Replies

WillDaSilvalast Saturday at 4:06 PM

It's pretty easy these days to spin up a local Postgres container. Might as well use it for prototyping too, and save yourself the hassle of switching later.

show 1 reply
solarengineerlast Saturday at 4:31 PM

Have you given thought to why you prototype with SQLite?

I have switched to using postgres even for prototyping once I prepared some shell scripts for various setup. With hibernate (java) or knex (Javascript/NodeJS) and with unit tests (Test Driven Development approach) for code, I feel I have reduced the friction of using postgres from the beginning.

show 1 reply
nileshtrivedilast Saturday at 4:50 PM

I have now switched to pglite for prototyping, because it lets me use all the postgres features.

show 1 reply