10
u/linuxhiker Guru Nov 02 '26
I saw this from you on X.
I think "REPACK" should be "Claude" :D. But yes, REPACK suddenly is the belle of the ball.
5
u/craigkerstiens Nov 02 '26
You are not wrong on the Claude point, but that one feels almost too painful to post.
2
u/spicypixel Nov 02 '26
Can you explain it to me like I’m an idiot please
7
u/linuxhiker Guru Nov 02 '26
Robert Haas performed an analysis on the upcoming Postgres 19 major features using Claude. All the features listed on the right because of the analysis were reverted.
So the only "major" feature is REPACK which is arguably not a major feature but is now. That analysis is also why Postgres 19 is over a month late.
2
70
u/shrodikan Nov 02 '26
TIL
PostgreSQL 19 introduces the native REPACK command, which unifies the functionality of VACUUM FULL and CLUSTER into a single tool for reclaiming disk space and improving performance. The standout feature is REPACK CONCURRENTLY, which allows tables to be rewritten online without holding an exclusive lock, enabling continuous reads and writes during the operation.
10
u/humanshield85 Nov 03 '26
#2 (referring to repack) has been cut back in scope
enough that I don't think we would have accepted the feature
originally if it had been subject to those limitations, which IMHO is
a reasonable argument for a revert but also not conclusiveSo basically almost none of the features was worth at the end lol
3
u/Ok_Outlandishness906 Nov 02 '26
is it a relative of pg_repack ?
1
u/raks1991 20d ago
Similar goal, but the native command uses logical decoding to capture writes during the copy. The current devel docs still specify an
ACCESS EXCLUSIVElock for the final file swap, so 'without holding an exclusive lock' needs that qualification. Concurrent here doesn't mean entirely lock-free.0
u/Ok_Outlandishness906 20d ago
it is the same mechanism of oracle shrink of table, online till the reset of the end which put an exclusive lock for very few time
1
u/look Nov 03 '26
Why even bother with releasing 19 if they’ve cut out every useful feature and enhancement now? Or just switch to a monthly release cycle with whatever is ready (like browsers) so we don’t have to wait a year for the rest…
5
u/craigkerstiens Nov 03 '26
I get it's easy to take shots in comments, and yet this is in line with what Postgres has always done.
A major release each year where new features land, point releases are bug fixes with no breaking changes or new features intended in between. Even myself posting the meme is a bit of taking a shot, but to throw out all the other features and change course completely to what has worked for nearly 20 years because there were more highlight features than ever before that didn't land because of wanting to keep quality high....
I can't speak for everyone in the community, but pretty sure this isn't the change thats gonna happen.
4
u/Amazing-Mirror-3076 Nov 03 '26
Annual release cycle are just too long - even java worked out that an annual release cadence makes no sense.
1
u/bendem Nov 03 '26
Java doesn't require an offline upgrade or complicated replication setup to upgrade though. You just install the new jre and restart the app. The reason so many postgres installs are not on latest is that business doesn't have time for downtime. Increase release cadence while keeping the current upgrade process doesn't sound right.
3
u/Amazing-Mirror-3076 Nov 03 '26
Increased cadence doesn't force users to upgrade but gets new features into the hands of users that need them.
There is little point in developing a feature then keeping it locked behind a release..
It also makes releases less risky as we roll out a smaller feature set each time.
3
u/look Nov 03 '26
Waiting a year to release the other work (of which at least some is presumably still close to being ready) seems absurd, too, though.
2
1
u/cptwunderlich Nov 03 '26
OMG, I did not know about SQL/PGQ 😭
Would've been a great argument to migrate away from AWS Neptune, which is the bane of my existence...
1
-2
u/AutoModerator Nov 02 '26
AI Policy:
Linux is not one of those anti-AI projects, and if somebody has issues with that, they can do the open-source thing and fork it. Or just walk away., Linus Torvalds.
Mod decisions will be based on the quality of the content, not who or what generated it.
Sub Resources:
Free Postgres Webinars and Workshops
Discord: 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.
20
u/pjstanfield Nov 02 '26
every time i see group by all mentioned i get sad. one day, one day.