Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
6356b98
Movable DataBase Locales for Cloudberry
usernamedt Feb 13, 2023
d366993
Delete src/test/regress/sql/misc.sql
reshke Sep 19, 2025
b2f60ef
MDB admin patch & tests (#4)
reshke Sep 19, 2025
87c675b
Role mdb_superuser: feature and regress testsing (#5)
reshke Sep 30, 2025
7816667
Yezzey test (#8)
reshke Feb 2, 2026
aa5f3f6
Add group access to CBDB (#12)
leborchuk Feb 18, 2026
dbec496
Add yezzey as submodule (#23)
reshke Feb 10, 2026
cb19aed
UseAnonymousAddress (#24)
leborchuk Feb 12, 2026
6c3bbd3
Add yezzey build option (#26)
leborchuk Mar 11, 2026
a9b3ddd
Fix gpexpand not changing content-id for wal-g cmd
Jaroslavian Feb 25, 2026
3a93184
Bump yezzey. (#33)
reshke Apr 21, 2026
b535d03
Move yezzey forward to full support Cloudberry (#35)
leborchuk May 15, 2026
d0e4afe
Bump yezzey for PAX fix (#37)
reshke Jun 3, 2026
f6b7727
Allow non-superuser role to manage resource groups.
Alena0704 Jun 16, 2026
1aeb3b3
Fix duplicate mdb_admin_allow_bypass_owner_checks definition in acl.c
Copilot Jun 19, 2026
a7895af
Address review comments: fix includes, configure options, pipefail, l…
Copilot Jun 19, 2026
60a85c3
Fix Yezzey CI shell for pipefail steps
Copilot Jun 19, 2026
0612130
Fix failing ic-deb-good-opt-on CI tests: privileges and misc expected…
Copilot Jun 19, 2026
66b2228
Add views for getting cumulative IC stats (#1822)
MutableFire Jun 23, 2026
f68292b
License: add & clean up license headers and files
tuhaihe Jul 29, 2025
2a4f703
Generate gp_ view for desired pg_ system views
huansong Mar 20, 2023
04b4e3d
Fix system_views_gp.in and fix test query_conflict
fanfuxiaoran Jun 10, 2025
6f5a04b
Fix names of pg_stat_all_tables|indexes
huansong Mar 20, 2023
efd100f
Add gp_stat_progress_%_summary system views
l-wang Apr 27, 2023
1af0bf0
Add gp summary system views
AJR-VMware Apr 7, 2023
a5ae58e
Fix: Adapt system view after cherry-pick
lss602726449 Sep 3, 2025
1b39294
Fix: fix configure by autoconf
lss602726449 Sep 9, 2025
1b24b96
Cherry-pick of CVE fix: Fix privilege checks in pg_stats_ext and pg_s…
reshke Feb 4, 2026
988caa0
Run gp_internal_tools tests
andr-sokolov Dec 30, 2025
c5b7976
initdb: fix stale errno handling in setup_cdb_schema()
tuhaihe Feb 28, 2026
5bf409c
Fix invalid escape sequences in Python files
tuhaihe Mar 2, 2026
c6640d5
Fix LICENSE path for ISC license file
tuhaihe Mar 16, 2026
58b39cb
[MINOR] Remove unused build script that used non-HTTPS to download code
pjfanning Mar 18, 2026
d56ad9e
Fix SIGSEGV on segments when creating in-place tablespace
yjhjstz Mar 17, 2026
1a717e4
Fix session lock leak in ALTER DATABASE SET TABLESPACE for utility mode
yjhjstz Mar 17, 2026
ea4f7e6
Fix PostgresNode.pm for TAP tests on CBDB
yjhjstz Mar 17, 2026
ce64976
ORCA: Fix use-after-free in flatten_join_alias_var_optimizer
yjhjstz Mar 13, 2026
fb15a40
ORCA: Fix incorrect decorrelation of GROUP BY () HAVING <outer_ref>
yjhjstz Mar 13, 2026
ffed9c1
Support AQUMV exact-match for multi-table JOIN queries
avamingli Mar 5, 2026
9f6c289
Address review feedback for AQUMV join exact-match
avamingli Mar 10, 2026
5b5e572
Fix ORDER BY lost after AQUMV join rewrite
avamingli Mar 10, 2026
f06d4d3
Prevent pgstats from getting confused when relkind of a relation changes
anarazel Dec 3, 2022
76da888
Restrict accesses to non-system views and foreign tables during pg_dump.
MasahikoSawada Aug 5, 2024
e2b090c
Remove unused concourse/* from source
tuhaihe Mar 20, 2026
8938d37
Stop installing diskquota build-info file
tuhaihe Mar 16, 2026
ecc9638
Fix syntax error in the bash script regarding LD_LIBRARY_PATH
fairyfar Mar 16, 2026
14746ca
Set GUC "is_superuser" in all processes that set AuthenticatedUserId.
nmisch Nov 6, 2023
6ec036b
libpq: Bail out during SSL/GSS negotiation errors (#1633)
reshke Mar 25, 2026
5063831
Parallel Hash Full Join.
macdice Mar 30, 2023
7ff139c
Fix PHJ match bit initialization.
macdice Apr 13, 2023
2e6c773
Fix instability in regression test for Parallel Hash Full Join
michaelpq Jun 12, 2023
e8f08e5
Parallel Hash Full Join and Right Join
avamingli Mar 24, 2026
5045e37
tests: add Parallel Hash Full/Right Join regression cases
avamingli Mar 24, 2026
468967b
Widen MotionLayerState stat counters from uint32 to uint64 (#1647)
Jaroslavian Mar 30, 2026
0ced84b
Fix the issue of duplicate counting of num_executed in gp_toolkit.gp_…
fairyfar Mar 29, 2026
2d99cf2
Fix ORCA choosing wrong column type for CTAS with UNION ALL (#1431) (…
yjhjstz Apr 1, 2026
2703505
Revert "Fix COPY TO returning 0 rows during concurrent reorganize"
yjhjstz Apr 1, 2026
30999f1
[yagp_hooks_collector] Add extension skeleton with GRPC transport
Smyatkin-Maxim Mar 23, 2023
9a726e3
[yagp_hooks_collector] Fix segfault in plan text generator
Smyatkin-Maxim Mar 28, 2023
451ded5
[yagp_hooks_collector] Add executor instrumentation, /proc stats, and…
Smyatkin-Maxim Mar 29, 2023
6874e12
[yagp_hooks_collector] Apply llvm code style
Smyatkin-Maxim Apr 6, 2023
79408d2
[yagp_hooks_collector] Switch to query_info_collect_hook and fix stab…
Smyatkin-Maxim Apr 10, 2023
34b5d6d
[yagp_hooks_collector] Add debian packaging and bionic GRPC compatibi…
Smyatkin-Maxim May 1, 2023
b7d9043
[yagp_hooks_collector] Add CDB metrics, query nesting, and configurat…
Smyatkin-Maxim May 4, 2023
7824420
[yagp_hooks_collector] Diff system stats per-query and improve error …
Smyatkin-Maxim Jun 7, 2023
bb49d14
[yagp_hooks_collector] Fix EventSender and GrpcConnector in forked pr…
Smyatkin-Maxim Jun 13, 2023
9eb39d3
[yagp_hooks_collector] Fix memory leak in EXPLAIN ANALYZE code path
Smyatkin-Maxim Aug 16, 2023
619d05a
[yagp_hooks_collector] Add motion network and workfile spill stats
Smyatkin-Maxim Sep 6, 2023
51251cd
[yagp_hooks_collector] Clean up threading, signal handling, and logging
Smyatkin-Maxim Sep 6, 2023
34baa67
[yagp_hooks_collector] Add ignored_users_list GUC
Smyatkin-Maxim Sep 21, 2023
fbdb70a
[yagp_hooks_collector] Replace GRPC transport with protobuf-over-UDS
Smyatkin-Maxim Oct 2, 2023
053361f
[yagp_hooks_collector] Fix missing query statuses after protobuf migr…
Smyatkin-Maxim Nov 2, 2023
8dfa3bf
[yagp_hooks_collector] Add stat_messages() runtime statistics view
Smyatkin-Maxim Nov 13, 2023
66a7f85
[yagp_hooks_collector] Fix message lifecycle ordering and memory leaks
Smyatkin-Maxim Nov 15, 2023
302f641
[yagp_hooks_collector] Improve query_id and resource group resolution
Smyatkin-Maxim Dec 26, 2023
f0a1491
[yagp_hooks_collector] Add nested query tracking
Smyatkin-Maxim May 17, 2024
68b5fad
[yagp_hooks_collector] Add configurable text field trimming
Smyatkin-Maxim May 28, 2024
f523640
[yagp_hooks_collector] Add error message reporting for failed queries
Smyatkin-Maxim May 28, 2024
ba9aa35
[yagp_hooks_collector] Change report_nested_queries to PGC_USERSET
Smyatkin-Maxim Jun 3, 2024
5632410
[yagp_hooks_collector] Diff per-query stats between submit and end
Smyatkin-Maxim Jun 13, 2024
bfc3a1e
[yagp_hooks_collector] Fix try/catch block when calling C++ code from…
Smyatkin-Maxim Aug 7, 2024
6064ed4
[yagp_hooks_collector] Improve nested query handling and add slice info
Smyatkin-Maxim Sep 12, 2024
3ec84a2
[yagp_hooks_collector] Split EventSender into submodules
Smyatkin-Maxim Nov 7, 2024
3e38649
[yagp_hooks_collector] Ignore EXPLAIN VERBOSE errors for unsupported …
Smyatkin-Maxim Apr 7, 2025
112ed24
[yagp_hooks_collector] Add per-slice interconnect statistics
Smyatkin-Maxim Apr 18, 2025
37d9a37
[yagp_hooks_collector] Fix user filtering propagation timing
Jaroslavian Jun 9, 2025
fd27ed7
[yagp_hooks_collector] Miscellaneous fixes and refactoring
Jaroslavian Jun 16, 2025
608d7ba
[yagp_hooks_collector] Add conditional EXPLAIN ANALYZE collection
Jaroslavian Jun 24, 2025
6e68242
[yagp_hooks_collector] Fix memory leaks, add safe C++ wrappers, impro…
Jaroslavian Jun 27, 2025
effbd4b
[yagp_hooks_collector] Add utility statement tracking and metrics doc…
Jaroslavian Jul 14, 2025
027c0cd
[yagp_hooks_collector] Add regression tests, ANALYZE text output, and…
Jaroslavian Sep 4, 2025
7622935
[yagp_hooks_collector] Port backend infrastructure and adapt for Clou…
Jaroslavian Jan 19, 2026
5a2cc69
[yagp_hooks_collector] Add --with-yagp-hooks-collector configure opti…
Jaroslavian Jan 19, 2026
f0f2951
[yagp_hooks_collector] Add consistent GUC filtering and submit/done h…
Jaroslavian Jan 19, 2026
a2cbf7c
[yagp_hooks_collector] Add UDS round-trip test and fix send() accounting
Jaroslavian Jan 20, 2026
1a64695
[yagp_hooks_collector] Fix locale-dependent normalization crash
Jaroslavian Jan 21, 2026
9a6ee4f
[yagp_hooks_collector] Add Apache license headers and enable -Werror
Jaroslavian Jan 21, 2026
4f97678
[yagp_hooks_collector] Fix null ErrorData dereference on segments
Jaroslavian Feb 10, 2026
13e7b60
Fix conflicts with yagp_hooks_collector
leborchuk Jun 29, 2026
147ab86
[yagp_hooks_collector] Move to gpcontrib directory
Mar 18, 2026
7c8b12a
[gp_stats_collector] Rename yagp_hooks_collector to gp_stats_collector
Jaroslavian Mar 25, 2026
6c94eae
[gp_stats_collector] Simplify Makefile and add -Wno-unused-but-set-va…
Jaroslavian Mar 26, 2026
bea3819
[gp_stats_collector] Build by default with extension disabled via GUCs
Jaroslavian Mar 31, 2026
0cc2cd1
[gp_stats_collector] Code quality cleanup
Jaroslavian Mar 31, 2026
3b8ec62
[gp_stats_collector] Wrap hook call in try/catch on error path
Jaroslavian Mar 31, 2026
15dff28
[gp_stats_collector] Adapt namings for Cloudberry
Jaroslavian Mar 31, 2026
7d65d3a
[gp_stats_collector] Remove unnecessary CONFIGURE_EXTRA_OPTS param
Jaroslavian Apr 1, 2026
66c8f00
Fix sed -i compatibility in configure.ac
zhangyue1818 Apr 3, 2026
7306eb3
Disable mdblocales by default in configure
tuhaihe Mar 31, 2026
707ff3b
Regenerate configure for gp_stats_clolector
tuhaihe Mar 31, 2026
86f1107
Add missing runtime dependencies for minimal installations
tuhaihe Apr 2, 2026
86d5723
Fix compliance issues for RPM and DEB packages
tuhaihe Apr 3, 2026
843e15b
Build: make diskquota installation opt-in
tuhaihe Apr 7, 2026
a130fd9
Improve the SQL tab-completion feature for resource group (#1669)
fairyfar Apr 9, 2026
bf1e6be
Fix aoco_relation_size() using wrong snapshot to read pg_aocsseg
yjhjstz Apr 8, 2026
2414aa4
CI: fix 'Check and Display Regression Diffs' step to use bash shell (…
yjhjstz Apr 10, 2026
6e072e5
Fix SIGSEGV in fsm_extend when vacuuming tables in non-default tables…
avamingli Apr 2, 2026
6756a1c
ORCA: fall back to Postgres planner for KNN ORDER BY queries (#1653)
yjhjstz Apr 16, 2026
5f69072
Fix: Python build dependencies installation
tuhaihe Nov 12, 2025
fc32954
ORCA: add optimizer_use_streaming_hashagg GUC (#1681)
yjhjstz Apr 21, 2026
ed98e6f
Align release artifact naming with ASF incubator conventions
tuhaihe Apr 21, 2026
6e3d7d1
CI: use commit hash for Docker actions
tuhaihe Apr 21, 2026
ea46052
CI: Add Ubuntu24.04 workflow with test matrix support
tuhaihe Apr 20, 2026
4ac4985
Fix Python 3.12 SyntaxWarning in orphaned_toast_tables_check.py
tuhaihe Apr 21, 2026
bf00cea
Fix colNDVBySeg attnum index mismatch in column-specific ANALYZE …
yjhjstz Apr 23, 2026
b3a9734
DevOps: upgrade Go to 1.24.13 in Docker build images
tuhaihe Apr 22, 2026
2cd27ad
CI: update docker/setup-qemu-action to v4.0.0
tuhaihe Apr 22, 2026
859dd5b
Sandbox: add Cloudberry 2.1.0 release support
tuhaihe Apr 22, 2026
4206c73
Fix: init missing PlannedStmt fields in orca
yjhjstz Apr 24, 2026
0cda5df
Add Rocky Linux 10 Docker containers (#1676)
leborchuk Apr 27, 2026
68bbecb
Fix incompatibilities with libxml2 >= 2.12.0.
tglsfdc Jan 29, 2024
e7f87be
Avoid "unused variable" warning on non-USE_SSL_ENGINE platforms.
tglsfdc Apr 1, 2024
9ac0460
Do not include protobuf files twice
Apr 13, 2026
e2e8c04
xml2: Replace deprecated routines with recommended ones
michaelpq Jan 16, 2024
931009e
Fix copy for rocky linux
Apr 23, 2026
82eb525
Fix: set FRAMEOPTION_BETWEEN for ORCA window frames
yjhjstz Apr 27, 2026
6de9512
SIGSEGV in getCdbComponentInfo() when standby coordinator is on dedic…
jangjang0401 Apr 29, 2026
a44e816
orca: fallback to Postgres optimizer on cross-slice replicated CTE Co…
Alena0704 May 12, 2026
a6f3dcd
DevOps: upgrade Go from 1.24.13 to 1.25.10 in dev images
tuhaihe May 13, 2026
7ddc2c3
ORCA: keep HAVING above a scalar GbAgg in CNormalizer::FPushable
yjhjstz Apr 22, 2026
a26c91e
orca: implement intra-segment parallel table scan support
yjhjstz Oct 12, 2025
ec570b4
orca: add parallel scan test
yjhjstz May 13, 2026
2615cc6
PAX stats test: wait for seq_tup_read before exiting wait_for_stats()
yjhjstz May 8, 2026
e47d459
DevOps: add libicu-devel to Rocky Linux build images
tuhaihe May 12, 2026
e81f85c
Fix gppkg error: 'SyncPackages' object has no attribute 'ret'.
woblerr May 2, 2026
0c37a72
Fix: FDW OPTIONS encoding accepts symbolic names (issue #1726) (#1727)
talmacschen-arch May 15, 2026
35f39d3
AO vacuum: CommandCounterIncrement before AppendOptimizedTruncateToEOF
yjhjstz May 15, 2026
52cfc4c
Fix use-after-free in GetExtStatisticsName
yjhjstz May 15, 2026
9a0c75c
Minor typo: transfrom->transform
Smyatkin-Maxim May 18, 2026
b23f650
Fix recovery slot handling before pg_basebackup (#1675)
aviralgarg05 May 21, 2026
1efd06f
Fix: change main version back to 2
leborchuk Jun 29, 2026
edbdded
Merge branch 'leborchuk-PG14_ARCHIVE_REBASED' into REL_2_STABLE
leborchuk Jun 29, 2026
42f1438
Import gp_url_tools extension from Greenplum (#40)
Vlasdislav Jun 29, 2026
8416ddd
Add CONFIGURE_EXTRA_OPTS to use in specific cloud build (#46)
leborchuk Jul 2, 2026
5820a3a
Overwrite the Yezzey version with 1.8.10 (#49)
Vlasdislav Jul 29, 2026
f770709
MDB admin counterpatch (#54)
Vlasdislav Aug 6, 2026
525412d
Support GPDB varlena layout (#47)
Smyatkin-Maxim Aug 10, 2026
29ae4b5
Feature: add TRY_CONVERT extension (#51)
Alena0704 Aug 12, 2026
e2e4b2b
Fix(ci): checkout to REL_2_STABLE
Vlasdislav Aug 13, 2026
315ba11
Fix(ci): Resolve binary swap baseline from open-gpdb tags
Vlasdislav Aug 14, 2026
63c85ab
Update binary swap systables expected output (#56)
Vlasdislav Aug 16, 2026
42e3c5a
Import uuid_cb into gpcontrib from Greenplum (#55)
Vlasdislav Aug 16, 2026
a65b116
Import gp_relaccess_stats into gpcontrib from Greenplum (#50)
Vlasdislav Aug 24, 2026
e7554a5
Feature: add pg_query_state to gp_stats_collector
roaldm153 Aug 27, 2026
2d5d515
Update yezzey submodule to tag 1.8.11 (#1945) (#59)
Vlasdislav Sep 2, 2026
96b7528
Reject direct calls to the gp_percentile transition functions
Alena0704 Aug 26, 2026
84a5bfb
Keep the isnull flag when gp_percentile_* returns its previous state
Alena0704 Aug 26, 2026
5e7f01f
Keep no-match rows when pulling up a correlated aggregate subquery
Alena0704 Aug 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 2 additions & 14 deletions .asf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ github:
# Enable rebase merging for linear history
rebase: true

# Branch protection rules for the main branch
# Branch protection rules for the REL_2_STABLE release branch
protected_branches:
main:
REL_2_STABLE:
# Require status checks to pass before merging
required_status_checks:
# Require branches to be up to date before merging
Expand Down Expand Up @@ -122,18 +122,6 @@ github:
# Require conversation threads to be resolved
required_conversation_resolution: true

# Branch protection for REL_2_STABLE release branch
REL_2_STABLE:
# Pull request review requirements
required_pull_request_reviews:
# Require new reviews when new commits are pushed
dismiss_stale_reviews: false
# Require at least 2 approving reviews
required_approving_review_count: 2

# Require conversation threads to be resolved
required_conversation_resolution: true

# Branch cleanup settings
# Don't automatically delete branches after merging
del_branch_on_merge: true
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/apache-rat-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ name: Apache Rat License Check

on:
push:
branches: [main, REL_2_STABLE]
branches: [REL_2_STABLE]
pull_request:
branches: [main, REL_2_STABLE]
branches: [REL_2_STABLE]
types: [opened, synchronize, reopened, edited]
workflow_dispatch:

Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/binary-swap-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,9 @@ jobs:
# Exclude RC versions: X.Y.Z-incubating-rcN
echo "Finding latest release tag..."

# Get all tags matching the incubating pattern, sort by version, filter out RC versions
TAG_INFO=$(git ls-remote --tags --refs origin '*-incubating' 2>/dev/null \
# Get all tags matching the incubating pattern from open-gpdb,
# sort by version, filter out RC versions.
TAG_INFO=$(git ls-remote --tags --refs https://github.com/open-gpdb/cloudberry.git '*-incubating' 2>/dev/null \
| grep -v '\-rc[0-9]*$' \
| sort -t'/' -k3 -V \
| tail -1 || echo "")
Expand Down Expand Up @@ -164,14 +165,15 @@ jobs:
- name: Checkout Baseline Code
uses: actions/checkout@v4
with:
repository: open-gpdb/cloudberry
ref: ${{ needs.resolve-baseline.outputs.baseline_version }}
fetch-depth: 1
submodules: recursive

- name: Checkout Build Tools
uses: actions/checkout@v4
with:
ref: main
ref: REL_2_STABLE
path: build_tools
sparse-checkout: |
devops
Expand All @@ -181,7 +183,7 @@ jobs:
run: |
# Copy devops scripts to baseline source if they don't exist
if [ ! -d "devops" ]; then
echo "Injecting devops scripts from main branch..."
echo "Injecting devops scripts from REL_2_STABLE branch..."
cp -r build_tools/devops .
fi

Expand Down Expand Up @@ -316,7 +318,7 @@ jobs:
- name: Checkout Build Tools
uses: actions/checkout@v4
with:
ref: main
ref: REL_2_STABLE
path: build_tools
sparse-checkout: |
devops
Expand All @@ -326,7 +328,7 @@ jobs:
run: |
# Copy devops scripts to current source if they don't exist
if [ ! -d "devops" ]; then
echo "Injecting devops scripts from main branch..."
echo "Injecting devops scripts from REL_2_STABLE branch..."
cp -r build_tools/devops .
fi

Expand Down
63 changes: 60 additions & 3 deletions .github/workflows/build-cloudberry-rocky8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ name: Apache Cloudberry Build (Rocky 8)

on:
push:
branches: [main, REL_2_STABLE]
branches: [REL_2_STABLE]
pull_request:
paths:
- '.github/workflows/build-cloudberry-rocky8.yml'
# We can enable the PR test when needed
# branches: [main, REL_2_STABLE]
# branches: [REL_2_STABLE]
# types: [opened, synchronize, reopened, edited]
schedule:
# Run every Monday at 02:00 UTC
Expand Down Expand Up @@ -310,15 +310,28 @@ jobs:
"contrib/pgcrypto:installcheck",
"contrib/pgstattuple:installcheck",
"contrib/tablefunc:installcheck",
"contrib/try_convert:installcheck",
"contrib/passwordcheck:installcheck",
"contrib/pg_aux_catalog:installcheck",
"contrib/pg_buffercache:installcheck",
"contrib/sslinfo:installcheck"]
},
{"test":"ic-gpcontrib",
"make_configs":["gpcontrib/orafce:installcheck",
"gpcontrib/zstd:installcheck",
"gpcontrib/gp_sparse_vector:installcheck",
"gpcontrib/gp_toolkit:installcheck"]
"gpcontrib/gp_toolkit:installcheck",
"gpcontrib/gp_url_tools:installcheck",
"gpcontrib/uuid_cb:installcheck"]
},
{"test":"gpcontrib-gp-relaccess-stats",
"make_configs":["gpcontrib/gp_relaccess_stats:installcheck"],
"extension":"gp_relaccess_stats",
"shared_preload_libraries":"gp_relaccess_stats"
},
{"test":"gpcontrib-gp-stats-collector",
"make_configs":["gpcontrib/gp_stats_collector:installcheck"],
"extension":"gp_stats_collector"
},
{"test":"ic-fixme",
"make_configs":["src/test/regress:installcheck-fixme"],
Expand All @@ -339,6 +352,10 @@ jobs:
},
{"test":"ic-cbdb-parallel",
"make_configs":["src/test/regress:installcheck-cbdb-parallel"]
},
{"test":"ic-recovery",
"make_configs":["src/test/recovery:installcheck"],
"enable_core_check":false
}
]
}'
Expand Down Expand Up @@ -1396,6 +1413,7 @@ jobs:
if: success() && needs.check-skip.outputs.should_skip != 'true'
env:
SRC_DIR: ${{ github.workspace }}
BUILD_DESTINATION: /usr/local/cloudberry-db
shell: bash {0}
run: |
set -o pipefail
Expand All @@ -1419,6 +1437,44 @@ jobs:
# 2. Follow the same pattern as optimizer
# 3. Update matrix entries to include the new setting

# Create extension if required
if [[ "${{ matrix.extension != '' }}" == "true" ]]; then
case "${{ matrix.extension }}" in
gp_stats_collector)
if ! su - gpadmin -c "source ${BUILD_DESTINATION}/cloudberry-env.sh && \
source ${SRC_DIR}/gpAux/gpdemo/gpdemo-env.sh && \
gpconfig -c shared_preload_libraries -v 'gp_stats_collector' && \
gpstop -ra && \
echo 'CREATE EXTENSION IF NOT EXISTS gp_stats_collector; \
SHOW shared_preload_libraries; \
TABLE pg_extension;' | \
psql postgres"
then
echo "Error creating gp_stats_collector extension"
exit 1
fi
;;
gp_relaccess_stats)
if ! su - gpadmin -c "source ${BUILD_DESTINATION}/cloudberry-env.sh && \
source ${SRC_DIR}/gpAux/gpdemo/gpdemo-env.sh && \
gpconfig -c shared_preload_libraries -v 'gp_relaccess_stats' && \
gpstop -ra && \
echo 'CREATE EXTENSION IF NOT EXISTS gp_relaccess_stats; \
SHOW shared_preload_libraries; \
TABLE pg_extension;' | \
psql postgres"
then
echo "Error creating gp_relaccess_stats extension"
exit 1
fi
;;
*)
echo "Unknown extension: ${{ matrix.extension }}"
exit 1
;;
esac
fi

# Set PostgreSQL options if defined
PG_OPTS=""
if [[ "${{ matrix.pg_settings.optimizer != '' }}" == "true" ]]; then
Expand Down Expand Up @@ -1643,6 +1699,7 @@ jobs:

- name: Check and Display Regression Diffs
if: always()
shell: bash {0}
run: |
# Search for regression.diffs recursively
found_file=$(find . -type f -name "regression.diffs" | head -n 1)
Expand Down
64 changes: 61 additions & 3 deletions .github/workflows/build-cloudberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ name: Apache Cloudberry Build

on:
push:
branches: [main, REL_2_STABLE]
branches: [REL_2_STABLE]
pull_request:
branches: [main, REL_2_STABLE]
branches: [REL_2_STABLE]
types: [opened, synchronize, reopened, edited]
workflow_dispatch:
inputs:
Expand Down Expand Up @@ -271,6 +271,15 @@ jobs:
},
"enable_core_check":false
},
{"test":"gpcontrib-gp-relaccess-stats",
"make_configs":["gpcontrib/gp_relaccess_stats:installcheck"],
"extension":"gp_relaccess_stats",
"shared_preload_libraries":"gp_relaccess_stats"
},
{"test":"gpcontrib-gp-stats-collector",
"make_configs":["gpcontrib/gp_stats_collector:installcheck"],
"extension":"gp_stats_collector"
},
{"test":"ic-expandshrink",
"make_configs":["src/test/isolation2:installcheck-expandshrink"]
},
Expand Down Expand Up @@ -298,12 +307,15 @@ jobs:
"contrib/formatter_fixedwidth:installcheck",
"contrib/hstore:installcheck",
"contrib/indexscan:installcheck",
"contrib/interconnect:installcheck",
"contrib/pg_trgm:installcheck",
"contrib/indexscan:installcheck",
"contrib/pgcrypto:installcheck",
"contrib/pgstattuple:installcheck",
"contrib/tablefunc:installcheck",
"contrib/try_convert:installcheck",
"contrib/passwordcheck:installcheck",
"contrib/pg_aux_catalog:installcheck",
"contrib/pg_buffercache:installcheck",
"contrib/sslinfo:installcheck"]
},
Expand All @@ -312,7 +324,10 @@ jobs:
"gpcontrib/zstd:installcheck",
"gpcontrib/gp_sparse_vector:installcheck",
"gpcontrib/gp_toolkit:installcheck",
"gpcontrib/gp_exttable_fdw:installcheck"]
"gpcontrib/gp_exttable_fdw:installcheck",
"gpcontrib/gp_internal_tools:installcheck",
"gpcontrib/gp_url_tools:installcheck",
"gpcontrib/uuid_cb:installcheck"]
},
{"test":"ic-diskquota",
"make_configs":["gpcontrib/diskquota:installcheck"],
Expand All @@ -337,6 +352,9 @@ jobs:
},
{"test":"ic-cbdb-parallel",
"make_configs":["src/test/regress:installcheck-cbdb-parallel"]
},
{"test":"ic-orca-parallel",
"make_configs":["src/test/regress:installcheck-orca-parallel"]
}
]
}'
Expand Down Expand Up @@ -1402,6 +1420,7 @@ jobs:
if: success() && needs.check-skip.outputs.should_skip != 'true'
env:
SRC_DIR: ${{ github.workspace }}
BUILD_DESTINATION: /usr/local/cloudberry-db
shell: bash {0}
run: |
set -o pipefail
Expand Down Expand Up @@ -1431,6 +1450,44 @@ jobs:
PG_OPTS="$PG_OPTS -c optimizer=${{ matrix.pg_settings.optimizer }}"
fi

# Create extension if required
if [[ "${{ matrix.extension != '' }}" == "true" ]]; then
case "${{ matrix.extension }}" in
gp_stats_collector)
if ! su - gpadmin -c "source ${BUILD_DESTINATION}/cloudberry-env.sh && \
source ${SRC_DIR}/gpAux/gpdemo/gpdemo-env.sh && \
gpconfig -c shared_preload_libraries -v 'gp_stats_collector' && \
gpstop -ra && \
echo 'CREATE EXTENSION IF NOT EXISTS gp_stats_collector; \
SHOW shared_preload_libraries; \
TABLE pg_extension;' | \
psql postgres"
then
echo "Error creating gp_stats_collector extension"
exit 1
fi
;;
gp_relaccess_stats)
if ! su - gpadmin -c "source ${BUILD_DESTINATION}/cloudberry-env.sh && \
source ${SRC_DIR}/gpAux/gpdemo/gpdemo-env.sh && \
gpconfig -c shared_preload_libraries -v 'gp_relaccess_stats' && \
gpstop -ra && \
echo 'CREATE EXTENSION IF NOT EXISTS gp_relaccess_stats; \
SHOW shared_preload_libraries; \
TABLE pg_extension;' | \
psql postgres"
then
echo "Error creating gp_relaccess_stats extension"
exit 1
fi
;;
*)
echo "Unknown extension: ${{ matrix.extension }}"
exit 1
;;
esac
fi

if [[ "${{ matrix.pg_settings.default_table_access_method != '' }}" == "true" ]]; then
PG_OPTS="$PG_OPTS -c default_table_access_method=${{ matrix.pg_settings.default_table_access_method }}"
fi
Expand Down Expand Up @@ -1649,6 +1706,7 @@ jobs:

- name: Check and Display Regression Diffs
if: always()
shell: bash {0}
run: |
# Search for regression.diffs recursively
found_file=$(find . -type f -name "regression.diffs" | head -n 1)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-dbg-cloudberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ name: Apache Cloudberry Build Debug

on:
push:
branches: [main, REL_2_STABLE]
branches: [REL_2_STABLE]
pull_request:
branches: [main, REL_2_STABLE]
branches: [REL_2_STABLE]
types: [opened, synchronize, reopened, edited]
workflow_dispatch:
inputs:
Expand Down
Loading
Loading