Skip to content

Build PXF release packages with oldest supported cloudberry #115

Description

@ostinru

Users cannot use fresh cloudberry-pxf builds with their older cloudberry builds[1]. e.g. pxf-2.1 is not compatible with cloudberry 2.0:

PostgreSQL 14.4 (Apache Cloudberry 2.0.0-incubating build 1) on x86_64-pc-linux-gnu, compiled by gcc (GCC) 11.5.0 20240719 (Red Hat 11.5.0-5.0.1), 64-bit compiled on Aug 2
8 2025 15:25:48
(1 row)

gpafiniti=# create extension pxf;
ERROR: incompatible library "/usr/local/cloudberry-pxf-2.1.0/gpextable/pxf.so": version mismatch (dfmgr.c:371)
DETAIL: Server is version Cloudberry 2, library is version Cloudberry 2.1.

It seems that Cloudberry version is captured during compilation and aaserted in runtime.

[1] apache/cloudberry#1805 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions