Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 20 additions & 3 deletions .github/workflows/binary-swap-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,11 @@ jobs:
echo "$CATALOG_VERSION"
echo "BASELINE_CATALOG_VERSION=$CATALOG_VERSION" >> "$GITHUB_ENV"

echo "Baseline PostgreSQL Kernel Version:"
PG_VERSION=$("${BASELINE_INSTALL_DIR}/bin/pg_config" --version 2>/dev/null || echo "N/A")
echo "$PG_VERSION"
echo "BASELINE_PG_VERSION=$PG_VERSION" >> "$GITHUB_ENV"

ls -la "${BASELINE_INSTALL_DIR}"

- name: Install Current RPM
Expand Down Expand Up @@ -611,6 +616,11 @@ jobs:
echo "$CATALOG_VERSION"
echo "CURRENT_CATALOG_VERSION=$CATALOG_VERSION" >> "$GITHUB_ENV"

echo "Current PostgreSQL Kernel Version:"
PG_VERSION=$("${CURRENT_INSTALL_DIR}/bin/pg_config" --version 2>/dev/null || echo "N/A")
echo "$PG_VERSION"
echo "CURRENT_PG_VERSION=$PG_VERSION" >> "$GITHUB_ENV"

ls -la "${CURRENT_INSTALL_DIR}"

- name: Setup pg_regress
Expand Down Expand Up @@ -712,15 +722,18 @@ jobs:
echo "No regression diffs found - test passed"
fi

- name: Final Catalog Version Summary
- name: Final Version Summary
if: always()
run: |
echo "=== Catalog Version Comparison ==="
echo "Baseline Catalog Version: ${BASELINE_CATALOG_VERSION:-N/A}"
echo "Current Catalog Version: ${CURRENT_CATALOG_VERSION:-N/A}"
echo ""
echo "Catalog Status: $([[ "$BASELINE_CATALOG_VERSION" == "$CURRENT_CATALOG_VERSION" ]] && echo "✅ IDENTICAL" || echo "🔍 DIFFERENT")"
echo "=== Comparison completed ==="
echo ""
echo "=== PostgreSQL Kernel Version Comparison ==="
echo "Baseline PG Version: ${BASELINE_PG_VERSION:-N/A}"
echo "Current PG Version: ${CURRENT_PG_VERSION:-N/A}"
echo "PG Kernel Status: $([[ "$BASELINE_PG_VERSION" == "$CURRENT_PG_VERSION" ]] && echo "✅ IDENTICAL" || echo "🔍 DIFFERENT")"

- name: Generate Report
if: always()
Expand Down Expand Up @@ -749,6 +762,10 @@ jobs:
**Baseline Catalog Version**: ${BASELINE_CATALOG_VERSION}
**Current Catalog Version**: ${CURRENT_CATALOG_VERSION}

## PostgreSQL Kernel Version
**Baseline PG Version**: ${BASELINE_PG_VERSION}
**Current PG Version**: ${CURRENT_PG_VERSION}

${MESSAGE}

EOF
Expand Down
2 changes: 1 addition & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -2920,7 +2920,7 @@ ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $
ac_compiler_gnu=$ac_cv_c_compiler_gnu


PG_PACKAGE_VERSION=14.4
PG_PACKAGE_VERSION=14.5



Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ dnl The PACKAGE_VERSION from upstream PostgreSQL is maintained in the
dnl PG_PACKAGE_VERSION variable, when merging make sure to update this
dnl variable with the merge conflict from the AC_INIT() statement.
AC_INIT([Apache Cloudberry], [2.1.0-incubating], [dev@cloudberry.apache.org], [], [https://cloudberry.apache.org/])
[PG_PACKAGE_VERSION=14.4]
[PG_PACKAGE_VERSION=14.5]
AC_SUBST(PG_PACKAGE_VERSION)

dnl m4_if(m4_defn([m4_PACKAGE_VERSION]), [2.69], [], [m4_fatal([Autoconf version 2.69 is required.
Expand Down
2 changes: 1 addition & 1 deletion src/test/binary_swap/expected/diff_dumps.out
Original file line number Diff line number Diff line change
@@ -1 +1 @@
\! diff dump_other.sql dump_current.sql
\! diff -I '^-- Dumped from database version' dump_other.sql dump_current.sql
2 changes: 1 addition & 1 deletion src/test/binary_swap/sql/diff_dumps.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
\! diff dump_other.sql dump_current.sql
\! diff -I '^-- Dumped from database version' dump_other.sql dump_current.sql
Loading