this post was submitted on 15 Apr 2026
32 points (97.1% liked)

Programming

26510 readers
162 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 2 years ago
MODERATORS
top 4 comments
sorted by: hot top controversial new old
[–] Kissaki@programming.dev 1 points 4 hours ago

I knew - bait title

[–] in_my_honest_opinion@piefed.social 5 points 22 hours ago (2 children)

The problem isn’t that it’s slow, it’s that it’s linear.

That being said, great writeup. I'd love to pass this around the opensource projects that just shove a postgres container into the stack when they're just trying to get relational keys.

[–] aivoton@sopuli.xyz 4 points 20 hours ago

Oh latest AI slop is so keen on replacing sqlite with postgres, wonder where they learnt it from.

Perfect! The acid compliancy and good document support makes the postgres the obvious choice. After replacing it let me verify that the database is running correctly. psql -c "SELECT * FROM cat_pictures". Hmm it's not working. Let me verify that the server is running. psql -U root. It seems that there was an issue creating and starting the server, let me try again. cd projectfolder / && rm -rf && initdb. Hmm couldn't iniate the database let me add --no-preserve-root to ensure initdb runs properly

[–] bugsmith@programming.dev 2 points 19 hours ago

I'm glad you enjoyed it. I appreciate the kind words.
Feel free to do so!