Hi all,
I would like to share a new update on our ongoing PostgreSQL kernel upgrade
effort for Apache Cloudberry. Over the past 2 months, we have made steady
progress and successfully completed several key phases of the integration.
Here is the latest status:
~> Merge New Kernel into Work Branch (Done)
~> Resolve Conflicts (Done)
~> Fix Compile Errors (Done)
~> Init Database (Done)
~> Start the cluster (Done)
~> Pass the Postgres parallel schedule tests (Done)
~> Pass the Cloudberry schedule tests (Will start)
At this stage, most of the core enablement work for PostgreSQL 16.9 has
been completed. Next, we will start to try to pass the Cloudberry schedule
tests.
You can track our latest progress here:
- Work Branch: https://github.com/apache/cloudberry/tree/cbdb-postgres-merge
- GitHub Project: https://github.com/orgs/apache/projects/497
Hope we can achive the milestone earlier! Thanks again!

Best,
Jinbao

On Fri, Sep 19, 2025 at 3:42 PM Jinbao Chen <[email protected]>
wrote:

> Hi team,
> I wanted to provide an update on our PostgreSQL kernel upgrade progress
> for Apache Cloudberry. We've made significant progress across multiple
> phases of this complex integration.
> Now the first phases have been done:
> ~> ~Merge New Kernel into Work Branch (Done)
> ~> Resolve Conflicts (Done)
> ~> Fix Compile Errors (WIP) (~20% complete)
> - We are currently working through compilation issues that emerged from
> the kernel integration. This phase focuses on ensuring all PostgreSQL
> kernel changes are properly integrated with Cloudberry's codebase. Progress
> is steady at 20%~ completion.
> Thanks to all community developers participating in this kernel upgrade
> effort!
> You can track our latest progress at:
> - Work Branch:
> https://github.com/apache/cloudberry/tree/cbdb-postgres-merge
> - GitHub Project: https://github.com/orgs/apache/projects/497
>
> Best,
> Jinbao
>
> On Fri, Aug 1, 2025 at 2:33 PM Lirong Jian <[email protected]> wrote:
>
>> Thanks a lot for the update, Dianjin.
>>
>> Wow, this is a major progress regarding upgrading Cloudberry's PostgreSQL
>> kernel. We've taken a big step closer to our goal of continuously
>> approaching the latest stable version of PostgreSQL.
>>
>> Best,
>> Lirong
>>
>>
>> Dianjin Wang <[email protected]> 于2025年8月1日周五 13:53写道:
>>
>> > 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: [email protected]
>> > For additional commands, e-mail: [email protected]
>> >
>> >
>>
>

Reply via email to