Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Try to avoid the bespoke features of psql in favor of generic SQL unless cornered by circumstances into doing so, methinks.

If there's one complaint I have about pg, it's that it has too many features that encourage finding cute, non standard, non obvious ways of going about things.




> Try to avoid the bespoke features of psql in favor of generic SQL unless cornered by circumstances into doing so, methinks.

Why? To make migration to another database easier? I've never had the need to migrate any application away from postgres. I usually take full advantage of what the database can do.


I’m a proponent of vendor lock in is not a big deal - you’re not going to switch from AWS to Azure on a whim and if you do, the fact that you’re using ecs instead of k8s isn’t going to slow you down.

But data ownership is the one place I get iffy. What if your db does a rug pull and changes licenses? There’s certainly precedent in this space for that.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: