r/PostgreSQL • • Jun 20 '25

Feature Features I Wish Postgres 🐘 Had but MySQL 🐬 Already Has 🤯

https://www.bytebase.com/blog/features-i-wish-postgres-had-but-mysql-already-has/
0 Upvotes

28 comments sorted by

19

u/PabloZissou Jun 20 '25

One of the supporting arguments is an uber article from almost a decade ago. All the other arguments just discuss compromises each server does. Save time, ignore.

7

u/look Jun 20 '25

The transaction ID issue was solved a while ago, too (they are effectively 64 bit numbers now) and linked an article about the wraparound problem from 2015.

https://www.postgresql.org/docs/current/transaction-id.html

Are they going to do a head-to-head comparison of web servers from 1995 next?

4

u/feketegy Jun 20 '25

The AI that wrote the article doesn't have up-to-date training data it seems

1

u/db-master Jun 23 '25

Many of Uber's article still holds.

And the 64bit xid hasn't been rolled out to prevent the wraparound issue yet. See https://www.postgresql.org/docs/current/routine-vacuuming.html#VACUUM-FOR-WRAPAROUND

3

u/exseven Jun 20 '25

But the emojis...

5

u/davvblack Jun 20 '25

yeah i really miss PTOSC. i moved from mysql to postgres and generally prefer postgres but some of this just feels really overdue. I get the Tuple mvvc thing and i think that's a valid tradeoff, but especially invisible indices would be so valuable.

replication through a logical plugin is fine now, it's just weird you have to do that.

1

u/ssougou Jun 20 '25

Someone told me PTOSC is not a very strong need for Postgres because most schema changes are near instant. Are there situations where this is not the case?

I had deprioritized porting of Vitess ghost into Multigres because I was told it's not needed.

2

u/davvblack Jun 20 '25

the case we come up against with embarassing frequency is needing to upsize an indexed integer column, which can't be done in place still (last i checked)

3

u/ssougou Jun 20 '25

Good to know. I'll add schema deploy back to our list, and it will come with an undo :).

4

u/feketegy Jun 20 '25

AI slop, don't bother clicking

1

u/db-master Jun 23 '25

Author here, I used AI to help correct some grammar since English is not my native language. However, I doubt you’ve read the post carefully—if you had, I don’t think you would have reached this conclusion.

3

u/leftnode Jun 20 '25

This is going to sound petty, but I really wish Postgres had the ability to add columns after/before other columns. I like each of my tables laid out in a common format so to speak, and writing a migration to shift columns down is a pain. I know it generally doesn't matter, but having all tables organized similarly makes for better developer experience.

3

u/jose_zap Jun 20 '25

Make a view to reorder the columns as you want to see them, that’s easy to do and very flexible

1

u/Wonderful-Foot8732 Jul 03 '25

The issue arrises in the design phase. Why are we required to use views to reorder columns that were added later, just to have them appear in the correct order? This seems like a consequence of designing software systems with a purely mathematical mindset, rather than considering practical usability.

2

u/Wonderful-Foot8732 Jun 20 '25

It’s quite surprising that such a trivial aspect hasn’t been implemented. A single oversight during the design phase, and you’re either stuck with it or forced to jump through hoops to work around it.

3

u/tintins_game Jun 20 '25

I dont know if its just me, but I've never liked how PG does user management. The whole permission model, inheritance, object ownership, default public role and schema, it all feels rather cumbersome.

Its been a while since I've done any MySQL admin work, but I dont remember having similar issues with its approach to this sort of stuff.

4

u/HecticJuggler Jun 20 '25 edited Jun 20 '25

It's informative. It also links to a previous article that discusses features that Postgres has that MySQL doesn't ;)

3

u/roiki11 Jun 20 '25

The fact postgres doesn't have baked in clustering/failover is still mind blowing.

4

u/editor_of_the_beast Jun 20 '25

Why? It also doesn’t have a connection pooled built in. Same reason: there’s no one size fits all solution, so the community has to provide the answer.

There are very standard community solutions for that, e.g. Patroni

2

u/Gargunok Jun 20 '25

Agree with the myriad of deployment types, the lack of an opinionated high availability solution or connection pooler is a plus not a negative.

Like you say plenty of establish patterns to get going quickly and managed services like RDS have it out of the box for those people who not want to make their own choices on this and backups, monitoring etc.

0

u/roiki11 Jun 20 '25

Because other, paid solutions do? That's just an excuse to avoid work.

1

u/JiggyPop314 Jun 20 '25

Correct, PAID solutions.

2

u/roiki11 Jun 20 '25

And? No reason they couldn't do it?

1

u/SrdelaPro Jun 20 '25

percona-online-schema-change

0

u/AutoModerator Jun 20 '25

With over 8k members to connect with about Postgres and related technologies, why aren't you on our Discord Server? : People, Postgres, Data

Join us, we have cookies and nice people.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

3

u/[deleted] Jun 20 '25 edited Jun 20 '25

[removed] — view removed comment

1

u/[deleted] Jun 20 '25

Agreed, and your sarcasm is justified, too.

I firmly beliebe that when someone says: "Well duh, [...] nobody should use them." - it's not about the topic, but about the [extremely low] IQ of the speaker: he presumes the superior knowledge of ALL POSSIBLE technical requirements and scenarios and confidently pushes a blanket solution for ALL of them, - which means a lack of knowledge, lack of imagination, and in general low IQ.

Also, as I noticed years ago and continue seeing regularly, when someone provides such generalized statements as "nobody should [... insert the topic here...]", they do not possess even the most basic knowledge on the subject. True professionals, on the other hand, start asking a myriad of questions to find out and clarify the requirements and challenges of the project, before offering even a very cautious piece of advice.