this post was submitted on 15 Apr 2026
37 points (97.4% liked)

Programming

26510 readers
212 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
you are viewing a single comment's thread
view the rest of the comments
[–] in_my_honest_opinion@piefed.social 5 points 1 day 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 5 points 1 day 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 1 day ago

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