this post was submitted on 27 Jul 2024
834 points (97.8% liked)

Programmer Humor

19551 readers
1031 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] Whelks_chance@lemmy.world 97 points 3 months ago (2 children)

Jsonb in postgres is fine, I've been using it for years. Much better than letting mongodb anywhere near the stack.

[–] magikmw@lemm.ee 47 points 3 months ago (3 children)

But then postgres is basically an OS at this point, enough to compete with emacs for meme potential. And I say that as a happy postgres user.

[–] negativenull@lemmy.world 48 points 3 months ago (2 children)

Wait until people learn about the possibility of putting a web server INSIDE of postgres :)

https://betterprogramming.pub/what-happens-if-you-put-http-server-inside-postgres-a1b259c2ce56

[–] evatronic@lemm.ee 25 points 3 months ago

My principle dev asked if we could figure out how to invoke Lambda functions from within postgres trigger functions.

I was like, "Probably. But it's like putting a diving board at the top of the Empire State building.. doable, but a bad plan all around."

[–] PumaStoleMyBluff@lemmy.world 14 points 3 months ago

Sounds like someone heard about containers through a bad game of telephone!

[–] mousetail@programming.dev 5 points 3 months ago

PostgreSQL can even run WebAssembly (with an extension)

[–] frezik@midwest.social 3 points 3 months ago

Classically, a lot of RDBMSen are. MySQL held back for the most part, though it's not necessarily better for it.

[–] Lichtblitz@discuss.tchncs.de 13 points 3 months ago* (last edited 3 months ago)

Postgres handles NoSQL better than many dedicated NoSQL database management systems. I kept telling another team to at least evaluate it for that purpose - but they knew better and now they are stuck with managing the MongoDB stack because they are the only ones that use it. Postgres is able to do everything they use out of the box. It just doesn't sound as fancy and hip.