postgresql: 13.18 -> 13.20, 14.15 -> 14.17, 15.10 -> 15.12, 16.6 -> 16.8, 17.2 -> 17.4#382282
postgresql: 13.18 -> 13.20, 14.15 -> 14.17, 15.10 -> 15.12, 16.6 -> 16.8, 17.2 -> 17.4#382282vcunat merged 7 commits intoNixOS:staging-nextfrom
Conversation
We still have plenty of rebuilds because we haven't split off the postgresql test hook, yet. But certainly the rebuilds are a lot lower than before |
Since the We could probably just try to backport postgres/postgres@a92db3d for a week until the new release is out. We could do the same with @vcunat can we get #382032 into the current staging-next cycle? In that case we'd try to backpatch the commit above. If not, then we can also wait for the next release next week (which would probably be too late for staging-next). Also, what about this PR - master, staging, staging-next? What are our options given https://www.postgresql.org/support/security/CVE-2025-1094/ ? |
|
Added a commit for the I decided to not fix up the VM tests (they will also build for |
From the |
|
Hm, almost no change in rebuilds, yet:
|
14872fe to
39763bb
Compare
|
This push should bring it down a bit. |
|
Almost no change at this stage, yet:
I looked at the rebuilds a bit:
The changes required for this will need to be made through staging, so I don't think we can bring down the rebuilds in this PR already. |
39763bb to
351a2b2
Compare
351a2b2 to
3f750e2
Compare
Yeah, right. A little more than I would've guessed :( I removed the @vcunat @mweinelt are you OK with staging-next? (~1.8k rebuilds for x86_64-linux - but will be more if we also do libpq here). Re psql: I guess I'll apply the patch and pull the libpq update here, but this will have to wait until tomorrow. |
|
Yes, send it. |
|
Looks like the security fix introduced a regression. |
Yes, we've been discussing this upthread a little bit and also in #382032. The idea was to apply the patch to fix the regression, but at this stage we might just as well wait for the new release. While technically the release is made on Thursday, it should be "stamped" (tagged in git) later today already. So by tomorrow morning the latest we should be able to update to 17.4 etc. and be done with it afterwards. |
|
@wolfgangwalther @mweinelt I prepared the relevant changes yesterday (i.e. cherry-picking #382032 and applying the relevant fix), hence I just pushed it. I'd be fine with both ways, i.e. waiting until the tag is there or going with it now. |
|
Yeah, I guess that was my bad. I understood the time of the "Stamp" commit to be the time of "tag", but that's not true. They "stamped" the release: postgres/postgres@f8554de But they didn't push the tarballs, yet, and didn't tag this commit, yet. This will happen Thursday. What's the timeline for current staging-next? With the stamp done, we could temporarily update to a specific git revision, it would still carry the right version number etc. - I can work on that immediately. |
|
Timeline? I don't think it matters much. All linux binaries are ready now. So even if |
This allows us to fetch newer releases a few days before they are officially released and the tarballs have been pushed. The regular release cycle is like this: - Sunday, the release notes are committed. - Monday, the version is "stamped", i.e. the version bump committed. - Thursday, the release is made. There are not going to be any changes from Monday on, so we can kick off our builds at that time already - they still need time to hit unstable anyway.
ChangeLog: https://www.postgresql.org/about/news/postgresql-173-167-1511-1416-and-1319-released-3015/ https://www.postgresql.org/about/news/out-of-cycle-release-scheduled-for-february-20-2025-3016/ Co-authored-by: Wolfgang Walther <[email protected]>
ChangeLog: https://www.postgresql.org/about/news/postgresql-173-167-1511-1416-and-1319-released-3015/ https://www.postgresql.org/about/news/out-of-cycle-release-scheduled-for-february-20-2025-3016/ Co-authored-by: Wolfgang Walther <[email protected]>
ChangeLog: https://www.postgresql.org/about/news/postgresql-173-167-1511-1416-and-1319-released-3015/ https://www.postgresql.org/about/news/out-of-cycle-release-scheduled-for-february-20-2025-3016/ Co-authored-by: Wolfgang Walther <[email protected]>
ChangeLog: https://www.postgresql.org/about/news/postgresql-173-167-1511-1416-and-1319-released-3015/ https://www.postgresql.org/about/news/out-of-cycle-release-scheduled-for-february-20-2025-3016/ Co-authored-by: Wolfgang Walther <[email protected]>
ChangeLog: https://www.postgresql.org/about/news/postgresql-173-167-1511-1416-and-1319-released-3015/ https://www.postgresql.org/about/news/out-of-cycle-release-scheduled-for-february-20-2025-3016/ Co-authored-by: Wolfgang Walther <[email protected]>
ChangeLog: https://www.postgresql.org/about/news/postgresql-173-167-1511-1416-and-1319-released-3015/ https://www.postgresql.org/about/news/out-of-cycle-release-scheduled-for-february-20-2025-3016/ Co-authored-by: Maximilian Bosch <[email protected]> Co-authored-by: Wolfgang Walther <[email protected]>
67e0cac to
7a8b739
Compare
|
I just pushed updates to the stamped new version by commit rev to this PR (I hope you don't mind pushing to your PR, @Ma27). We can either go ahead with this now, and then change back to the tag (with the same underlying commit) later this week, or we can wait until the tag appears. I must admit I still don't understand the whole picture of "why and which rebuilds really matter for a merge to master", and I also don't really know what the implications of both would be in terms of "when will this update hit unstable". So I can't really make the best judgment of the practicality of each approach. Edit: We should also think about the best course of action for backporting. Can we do this in one go to |
All good, would've done the same @wolfgangwalther :)
staging given the amount of rebuilds. |
If we go staging for 24.11, we should certainly wait for the the tags to appear tomorrow, so we don't have to touch it twice. There will certainly not be a difference for how fast this reaches release-24.11. |
Yeah, pretty sure this will be #371242 coming to aarch64-darwin now. We haven't found a solution to this in a while, I doubt I can find one on the spot. But there is #383377, which is at least related - maybe that will help, will look into this today. It certainly worked fine when I built the PR on the community builder, so the failures are not entirely predictable. |
|
The build passes for me. Maybe it really is flaky. |
I opened #383713 to replace the commits from here with the now pushed tags. @Ma27 are you going to do the backport? I'll look into the darwin issue now. Edit: Seems like that was resolved by retriggering the flaky build, at least for now. |
Pretty sure I know why this happens now: #371242 (comment) If this comes up, the build needs to happen on a different builder, or manual intervention on the builder is required to clean those shared memory segments up - until we can figure out how to prevent that from happening... |
Will do so tomorrow. |
We had set the "stamped" commit in #382282, a few days before the tags appeared. The tags are now there, so we can replace them. The hashes stay the same.
We had set the "stamped" commit in NixOS#382282, a few days before the tags appeared. The tags are now there, so we can replace them. The hashes stay the same. (cherry picked from commit 4579b6b)
Closes #382032
https://www.postgresql.org/about/news/postgresql-173-167-1511-1416-and-1319-released-3015/
This only updates the server packages, hence this can go straight into master
Please note that the client update (#382032) is delayed due to a regression in the release (https://www.postgresql.org/about/news/out-of-cycle-release-scheduled-for-february-20-2025-3016/).
Backport to 24.11 must wait until then since we don't have a libpq package there.
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.