Hi all, I would like to share an update on the ongoing effort to upgrade the Cloudberry kernel from PostgreSQL 14.4 to 16.9. This work is being tracked per the proposal discussed in GitHub Discussion #1095.
## Overall Progress For the kernel upgrade, we will have a few major milestones, including: ``` -> Merge new Kernel into work branch (Done) -> Resolve conflicts (WIP) -> Fix the compile errors -> Init database -> Check the new pgstat codes and make it work on MPP -> Pass the PG parallel schedule tests -> Pass the Cloudberry schedule tests -> Fix the extensions -> Enable ORCA -> Tests and validation -> Create a PR to push the changes to the main branch ``` The upgrade work began with commit [0959648e](https://github.com/apache/cloudberry/commit/0959648e12a6db95fd370b5584a170937bde3ab7), which merged PostgreSQL 16.9 into our work branch `cbdb-postgres-merge` on June 1, 2025. Since then, we have been resolving conflicts after merging the new kernel. As of the current HEAD commit, we have successfully processed 50~ commits that address conflicts and compatibility issues. All of these commits focus on resolving merge conflicts across the subsystems of the database engine. You can see the progress in issue #1232 - 93%~ conflicts have been resolved. ## Next Steps We will continue to resolve the conflicts across the whole repo. Once all conflicts are resolved, we will start to fix the compile errors. I will share the updates monthly. If any questions, welcome to reply to this thread. Also, you can follow the work branch `cbdb-postgres-merge` and the GitHub project to catch up on the latest progress. Thanks to the community developer @Jinbao for driving this great work! - Work Branch: https://github.com/apache/cloudberry/tree/cbdb-postgres-merge - GitHub Project: https://github.com/orgs/apache/projects/497 - Issue for resolving conflicts: https://github.com/apache/cloudberry/issues/1232 - Proposal #1095: https://github.com/apache/cloudberry/discussions/1095 Best, Dianjin Wang --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cloudberry.apache.org For additional commands, e-mail: dev-h...@cloudberry.apache.org