Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
399 commits
Select commit Hold shift + click to select a range
498fea2
Add support for dispatching blockmap to segment servers. (#89)
higuoxing Dec 2, 2021
231d127
Fix incorrect JOIN condition in test_blackmap.sql (#101)
higuoxing Dec 6, 2021
05abdd3
calculate table size for hard limit (#100)
zhrt123 Dec 7, 2021
90b95ef
Add support for adding uncommitted relations to blackmap. (#102)
higuoxing Dec 8, 2021
5394d10
Fix bug: calculate AO table size in CTAS (#105)
zhrt123 Dec 10, 2021
f47e56b
Add support for dispatching blackmap to segments. (#104)
higuoxing Dec 13, 2021
fa8616d
Ignore distribution notice in regression tests. (#106)
higuoxing Dec 13, 2021
1386aa0
Trying to make concourse happy. (#108)
higuoxing Dec 15, 2021
4311b6d
Print the diff files when the tests failed. (#109)
higuoxing Dec 15, 2021
546d1b8
Fix flaky test cases. NFC. (#110)
higuoxing Dec 16, 2021
4dc9b7a
Fix bug: table's relation_cache_entry is not be removed after vacuum …
zhrt123 Dec 20, 2021
b9d6c0a
Fix test case bug (#114)
zhrt123 Dec 21, 2021
1ba28b7
Fix bug: can not calculate the size of pg_aoblkdir_xxxx before `creat…
zhrt123 Dec 21, 2021
d72b720
Add UDF to show worker status (#111)
xuebinsu Dec 22, 2021
989b93c
Wait until deleted tuples are dead before VACUUM (#118)
xuebinsu Jan 19, 2022
58f0f68
Make altered relation's oid active when performing 'VACUUM FULL'. (#116)
higuoxing Jan 19, 2022
0dbc7c0
Refactor pause() to skip refreshing quota (#119)
xuebinsu Jan 20, 2022
eba232c
ci: create rhel8 release build. (#117)
Jan 24, 2022
9d397c5
set the scope of pause() to current database
Sasasu Jan 24, 2022
a7dd6ed
cleanup header include
Sasasu Jan 25, 2022
4114e37
re-dispatch pause status
Sasasu Jan 26, 2022
ded66b5
allow to re-create extension
Sasasu Jan 26, 2022
8bcb6a0
use atomic on flag hardlimit_lock (#124)
Sasasu Jan 25, 2022
17446c7
send a error if launcher crashed (#124)
Sasasu Jan 25, 2022
6f37366
Pause before DROP EXTENSION (#121)
xuebinsu Jan 27, 2022
288b888
add test case for pause hardlimit (#128)
Sasasu Jan 27, 2022
ec138b3
Attempt to fix flaky test_primary_failure (#132)
beeender Feb 9, 2022
470f9c5
ereportif uses the 1st param as the condition (#131)
beeender Feb 10, 2022
fdc7786
add diskquota.status() to show if hardlimit or softlimit enabled or not
Sasasu Jan 26, 2022
7af8b40
ci: fix flaky test
Sasasu Feb 15, 2022
0f0f360
Add timeout when waiting for workers (#130)
xuebinsu Feb 16, 2022
b5d3de5
Add git commit message template (#141)
beeender Feb 17, 2022
c18f033
Use guc for hardlimit (#142)
beeender Feb 18, 2022
e1a1e64
be nice with scheduler when naptime = 0 (#120)
Sasasu Feb 21, 2022
a9aed2f
Create worker entry before starting worker (#144)
xuebinsu Feb 21, 2022
b36bc37
Extend fetch_table_stat() to update db cache (#138)
xuebinsu Feb 21, 2022
7b7e1cd
Use ytt to create pipelines (#143)
beeender Feb 21, 2022
34d41f3
Specify DISTRIBUTED BY when CREATE TABLE (#146)
xuebinsu Feb 21, 2022
a16dc83
Simplify the build script (#148)
beeender Feb 21, 2022
96cf2a6
Revert greenplum-db/diskquota#138 (#150)
xuebinsu Feb 22, 2022
bd58722
Add clang-format and editorconfig (#136)
beeender Feb 22, 2022
f0874ec
Extend fetch_table_stat() to update db cache v2 (#151)
xuebinsu Feb 22, 2022
1b4f797
Wait after CREATE EXTENSION (#152)
xuebinsu Feb 22, 2022
fcd246d
Run tests on all platforms for PR pipeline (#153)
beeender Feb 23, 2022
769c8e5
Reset naptime when test finish (#147)
beeender Feb 23, 2022
8522b4c
Fix flaky test case in isolation2/test_relation_size.sql (#123)
higuoxing Feb 24, 2022
6a865b2
Set PR pending status when start (#157)
beeender Feb 24, 2022
8de2e30
Update CI README for PR trigger issue (#156)
beeender Feb 25, 2022
07a524e
Make diskquota work for "pg_default" tablespace (#133)
liuxueyang Feb 25, 2022
1b02ad6
build: use cmake as build system (#161)
Sasasu Feb 28, 2022
454b10b
rename library file to diskquota-<major.minor>.so (#162)
Sasasu Mar 3, 2022
342b42b
Keep the 1.0 sql the same with 1.x branch (#163)
beeender Mar 3, 2022
0407e9c
Test when table is created before quota is set (#129)
xuebinsu Mar 4, 2022
ab9375f
Install the latest cmake on CI (#165)
beeender Mar 4, 2022
ed3e932
dump cmake version to 3.18
Sasasu Mar 3, 2022
cc6d2ad
fix case test_ctas_no_preload_lib
Sasasu Mar 4, 2022
58b7a78
Cache CMAKE_INSTALL_PREFIX (#171)
beeender Mar 7, 2022
b3575e0
Fix empty quota view when no table (#167)
xuebinsu Mar 7, 2022
fcda16f
mc/cmake installcheck (#169)
beeender Mar 7, 2022
867cb9f
Dispatch only once for all tables when init() (#107)
zhrt123 Mar 7, 2022
e2133d9
Pack the last released so in the pipeline (#172)
beeender Mar 8, 2022
500cb44
add upgrade and downgrade test (#166)
Sasasu Mar 8, 2022
bdb7cb7
Fix gcc warning (#175)
beeender Mar 8, 2022
1c483bc
Remove Makefiles (#174)
beeender Mar 8, 2022
adee82e
cmake: also link RESULTS_DIR to working dir
Sasasu Mar 8, 2022
f2c8439
show current binary and schema version
Sasasu Mar 7, 2022
40e491f
Upload every build to GCS and add build-info (#177)
beeender Mar 10, 2022
fc90224
Use cmake way to add C macro defines (#178)
beeender Mar 11, 2022
d8a9283
ci: speed up the test
Sasasu Mar 11, 2022
2c9edbc
Small tuning on logs (#154)
beeender Mar 11, 2022
9ae5b8f
Update gitignore (#180)
beeender Mar 11, 2022
43d4902
Add test cases for postmaster restart (#135)
beeender Mar 15, 2022
a76c919
Fix memory leak when refresh_blackmap() (#182)
xuebinsu Mar 16, 2022
b47adcd
Format the code and add clang-format to PR pipeline (#183)
beeender Mar 17, 2022
c06b722
remove the in-logic version check.
Sasasu Mar 17, 2022
1ee396f
ci: add upgrade version naming convention check
Sasasu Mar 16, 2022
2ddde42
Support release build (#186)
beeender Mar 21, 2022
58dc99b
feat: github actions for clang-check ci (#185)
yihong0618 Mar 21, 2022
077183e
Run same regress test multiple times (#188)
beeender Mar 21, 2022
36991f1
slack-alert and PR pipeline fix (#187)
beeender Mar 22, 2022
55222df
Don't format errno as '%d' in error messages. (#190)
higuoxing Mar 23, 2022
db7c5dd
fix context corrupted when dirty data exist in pg_extension
Sasasu Mar 22, 2022
5a1f32e
Fix cmake build on Mac (#191)
beeender Mar 24, 2022
4201f2c
Bring tests back on CI (#193)
beeender Mar 30, 2022
6c29f3e
Missing EmitErrorReport before FlushErrorState (#155)
beeender Mar 30, 2022
d648c2c
Insert newline before `else` (#194)
liuxueyang Mar 31, 2022
c4b28e6
Add the ytt based release pipeline (#198)
beeender Apr 1, 2022
f3a084a
Use on/off in diskquota.status() (#200)
Sasasu Apr 1, 2022
8af6d22
Update licenses (#195)
beeender Apr 6, 2022
e4ae17e
Use released gpdb instead of release candidate (#201)
beeender Apr 8, 2022
35d0f0b
Fix tablespace per segment ratio (#199)
Apr 8, 2022
297a14b
Fix un-expected remove when two tablespace-quota has a same role or s…
liuxueyang Apr 13, 2022
44723d8
Wait next loop for bgworker to refresh before INSERT in testcase (#205)
liuxueyang Apr 13, 2022
4ed0f7d
Add UDF diskquota.show_segment_ratio_quota_view (#204)
Apr 13, 2022
f13649f
clean blackmap after drop diskquota (#196)
Sasasu Apr 14, 2022
5fc04cd
Reset memory account to fix memory leak (#203)
xuebinsu Apr 14, 2022
9c5e25f
fix test case for test_manytable (#197)
Sasasu Apr 14, 2022
3e9f576
some fix for release CI (#206)
Sasasu Apr 16, 2022
6986c51
Fix mistaken log statement (#207)
beeender Apr 18, 2022
287777b
Fix flaky ctas_pause on release build (#210)
beeender Apr 19, 2022
a9783de
Reformat quota exceeded message (#209)
beeender Apr 19, 2022
839cac7
Fix change tablespace test case (#213)
Apr 21, 2022
3099b8a
Replace "black" with "reject" for clearity (#214)
xuebinsu Apr 22, 2022
23106d1
Reject set quota for system owner(#215)
Apr 25, 2022
994d764
fix set quota with upper case object name
Sasasu Apr 18, 2022
e24a961
Hint message when launcher cannot be connected (#216)
beeender Apr 28, 2022
bd205f3
SPI & entry clear in refresh_blackmap (#211)
beeender Apr 28, 2022
83ada28
Minimize the risk of stale relfilenodes (#217)
xuebinsu Apr 29, 2022
5e0c486
Report error if diskquota is not ready (#218)
xuebinsu May 5, 2022
aa39458
Allow deleting quota for super user (#219)
May 6, 2022
b98578c
Release pipeline is publishing wrong intermediates (#221)
beeender May 30, 2022
3b9fe43
Bump version to 2.0.1 (#222)
beeender May 30, 2022
36fbd1f
Compatible with ancient git (#223)
Sasasu May 31, 2022
5a762c6
Fix compiler version on concourse (#225)
beeender Jul 25, 2022
f86b36c
[CI] Fetch secrets from vault. (#226)
higuoxing Aug 4, 2022
efe3cd5
[cmake] Use C compiler to link the target. (#230)
higuoxing Aug 23, 2022
30024cf
Scripts for new pipeline naming rules (#231)
beeender Aug 24, 2022
76fb523
Log readiness message only once (#229)
xuebinsu Aug 25, 2022
e38f8ad
Fix flaky test due to slow worker startup (#232)
xuebinsu Aug 25, 2022
b8e2fc1
Downgrade severity of the readiness issue (#235)
xuebinsu Aug 31, 2022
ff37cf3
Fix creating artifact (#234)
beeender Aug 31, 2022
e75e374
Dynamic bgworker for diskquota extension
Sep 15, 2022
96b395b
Fix the test failure on release pipeline
Sep 20, 2022
22e7e9e
Move pr/merge pipeline to dev2 (#238)
beeender Sep 22, 2022
16d5dc6
Combine two object_access_hook into one (#220)
Sep 26, 2022
ed2548c
Remove free writer gang in launcher (#233)
Oct 11, 2022
8f28765
Fix bug: diskquota quota usage doesn't include uncommitted table (#228)
zhrt123 Oct 18, 2022
fda71b8
Fix flaky test (#240)
Oct 18, 2022
91ed666
Fix flaky test test_ctas_role (#242)
Oct 19, 2022
4e41937
Support at least 20000 tables for each database (#239)
zhrt123 Oct 20, 2022
8825d2e
Reduce MAX_TABLES to 200K. (#243)
zhrt123 Oct 24, 2022
365c029
Fix test_rejectmap flaky test (#246)
Oct 28, 2022
c3ae8a7
Add SECURITY.md
gp-releng Oct 28, 2022
865af67
Add SECURITY.md (#249)
gp-releng Nov 2, 2022
10797d7
Rewrite the diskquota worker scheduler (#245)
Nov 8, 2022
dabf371
Remove PR pipeline base branch (#252)
beeender Nov 8, 2022
4a3bdc6
Fix bug: relation_cache cannot isolate table info for each database (…
zhrt123 Nov 14, 2022
3b178a7
Fix flaky test (#250)
Nov 17, 2022
0b27386
Filter the useless relation type. (#254)
zhrt123 Nov 17, 2022
3251e44
Fix worker time out and diskquota.max_workers (#255)
Nov 18, 2022
87062e2
Fix flaky "database not found" (#256)
beeender Nov 18, 2022
2e2b343
Change the max value of diskquota.max_workers to 20 (#257)
Nov 21, 2022
b68520b
Revert change of worker_schedule test becuase flaky test (#260)
Nov 21, 2022
77197a4
Missing pause causes deadlock flaky (#258)
beeender Nov 21, 2022
c6c5b42
Fix memory leak when database is not ready (#262)
Nov 24, 2022
5d7498b
Change the default value of GUC to reduce default memory cost. (#266)
zhrt123 Dec 1, 2022
19d7a82
Refactor TableSizeEntry to reduce memory usage. (#264)
zhrt123 Dec 2, 2022
c5dbfcb
Correct table_size_entry key (#268)
Dec 5, 2022
68ae23a
Add cmake opt DISKQUOTA_DDL_CHANGE_CHECK (#270)
beeender Dec 5, 2022
15f482f
Fix regression caused by #264 (#272)
beeender Dec 5, 2022
b9792a8
Add a GUC `diskquota.max_table_segments`. (#271)
zhrt123 Dec 5, 2022
133002c
Enable tests (#274)
beeender Dec 6, 2022
10e555d
Optimize dispatching reject map to segments (#275)
Dec 8, 2022
dfec779
Fix bug: rejectmap entries should not be removed by other databases. …
zhrt123 Dec 12, 2022
d87198b
Fix diskquota worker schedule bug (#280)
Dec 12, 2022
9249b0b
Bump version to 2.1.1 (#283)
beeender Dec 13, 2022
d6a165b
Fix flaky test_fast_quota_view (#282)
beeender Dec 13, 2022
38d6e3b
Fix flaky isolation2 test. (#281)
higuoxing Dec 16, 2022
9d45972
Fix compilation to support gpdb7 (#285)
zhrt123 Jan 30, 2023
bd982c7
Fix released tarball name. (#286)
higuoxing Jan 30, 2023
03960a4
Add an option to control whether compile with fault injector. (#287)
higuoxing Jan 30, 2023
0e8837a
Add judgement for fault injector. (#288)
zhrt123 Jan 30, 2023
b8eb9f2
Revert "Add judgement for fault injector. (#288)" (#291)
higuoxing Jan 30, 2023
4face20
CI: Fix pipeline (#293)
zhrt123 Jan 31, 2023
b095fd9
Format code by clang-format. (#296)
zhrt123 Feb 3, 2023
921ee19
Add command to compile isolation2. (#297)
zhrt123 Feb 3, 2023
e2d57db
Fix flaky test (#294)
zhrt123 Feb 3, 2023
a35d864
Fix flaky test test_rejectmap_mul_db (#295)
Feb 6, 2023
b080393
Fix bug (#298)
zhrt123 Feb 7, 2023
ee239ec
Enable upgrade test for CI (#299)
zhrt123 Feb 8, 2023
0f1244b
Skip fault injector case for release build (#302)
beeender Feb 9, 2023
0997d0f
VAR replace for Regress.cmake and fix test_rejectmap (#304)
beeender Feb 15, 2023
23bd5e1
Fix update test failures caused by segid diff (#305)
beeender Feb 16, 2023
a1fa642
Replace relation_open/relation_close with RelationIdGetRelation/Relat…
zhrt123 Feb 16, 2023
abaab17
Fix flaky test of test_rejectmap_mul_db (#301)
Feb 20, 2023
b03946c
Fix test_primary_failure test case (#303)
Feb 21, 2023
582f31e
Move files to src and control dirs. (#307)
zhrt123 Feb 22, 2023
0f864c2
Fix gpdb release binary regex (#311)
beeender Mar 7, 2023
c6f8a87
Enable test_postmaster_restart (#309)
zhrt123 Mar 7, 2023
dbbfbc7
Bump cmake min version to 3.20 (#313)
beeender Mar 16, 2023
402f2ba
Resource change for gpdb7 binary (#315)
beeender Mar 20, 2023
ccd6f0b
Fix bug: bgworker enters infinite loop after receiving notices from Q…
zhrt123 Mar 27, 2023
ef68f34
Ignore some hint/notice for GPDB7 (#328)
zhrt123 Apr 6, 2023
9f8a432
fix flaky test: test_appendonly (#327)
zhrt123 Apr 6, 2023
e55ec1b
Add dbname to DiskQuotaWorkerEntry (#326)
zhrt123 Apr 6, 2023
db96b98
Replace SPI_execute with SPI_cursor_fetch (#322)
zhrt123 Apr 6, 2023
73810ed
Split update SQL statement for diskquota.table_size (#325)
zhrt123 Apr 10, 2023
da4b971
Update cmake version in README. (#331)
woblerr Apr 14, 2023
8cf34a6
Fix flaky test: test_appendonly (#333)
zhrt123 Apr 17, 2023
2c3304d
Skip refresh_disk_quota_model() when receiving a signal (#321)
zhrt123 Apr 26, 2023
5a8c7a7
Allocate more shared memory to quota_info (#334)
zhrt123 Apr 26, 2023
962eec3
Enable stanby test for 6X_STABLE (#335)
zhrt123 Apr 26, 2023
5663404
Bump version to 2.2.1 (#336)
beeender Apr 27, 2023
97a1213
Use install_gpdb_component in CI test (#337)
beeender Apr 27, 2023
6926e07
Fix compiler warnings. (#339)
higuoxing May 25, 2023
fcc5546
Fix bug: diskquota.status() (#344)
zhrt123 Jun 26, 2023
037406f
fix pipeline (#345)
zhrt123 Jun 26, 2023
473aced
Reduce the number of the log in bgworker. (#346)
zhrt123 Jun 27, 2023
0af6208
Fix bug: lose monitored_dbid_cache after switching mirror (#342)
zhrt123 Jun 27, 2023
6bd2c5a
Enable continuous upgrade. (#340)
zhrt123 Jun 27, 2023
12e347d
Fix pipeline. (#349)
zhrt123 Jun 28, 2023
c22c2e4
Fix upgrade version check (#347)
beeender Jun 28, 2023
10b6626
Remove gp7 from pipeline (#350)
zhrt123 Jun 28, 2023
d14f414
Add alter extension upgrade test (#348)
beeender Jun 28, 2023
1e0bafd
Add a sleep in alter_test.sh (#351)
zhrt123 Jun 29, 2023
e857fe1
Update to 2.2.2 (#352)
zhrt123 Jun 29, 2023
e3ce69b
Reduce the remain logs in bgworker. (#354)
zhrt123 Jul 3, 2023
f45ae7f
Fix bug: bgworkers only print log once. (#356)
zhrt123 Jul 4, 2023
df970bc
Disable forks for PR resource (#358)
beeender Jul 12, 2023
1586b41
Release/gp7 2.2.2 (#361)
zhrt123 Jul 28, 2023
1e31c06
Update to 2.3.0 (#362)
zhrt123 Aug 24, 2023
ea38aa9
Enable gpactivatestandby test (#363)
zhrt123 Aug 24, 2023
396d51d
Add gpdb7 job back to pipeline. (#367)
zhrt123 Aug 24, 2023
076f873
fix creating extension with global option appendonly=true. (#366)
zhrt123 Aug 25, 2023
9974ef3
Fix continuous upgrade (#368)
zhrt123 Sep 8, 2023
d132b86
Add GUC diskquota.max_monitored_databases. (#369)
zhrt123 Sep 12, 2023
814b7d7
Fix wrong test case (#374)
zhrt123 Sep 12, 2023
734512c
Fix compilation issue caused by GP7 (#375)
zhrt123 Sep 12, 2023
580fb1c
Add GUC diskquota.max_quotas (#372)
zhrt123 Sep 13, 2023
bc7f26b
Fix bug: the counter of quota_info_map works wrong (#378)
zhrt123 Sep 15, 2023
263a6ea
Fix bug: diskquota stop working after removing any extension (#379)
zhrt123 Sep 19, 2023
d81622d
Disable flaky test (#384)
zhrt123 Oct 18, 2023
cedbf66
Disable test_worker_schedule_exception (#385)
zhrt123 Oct 18, 2023
a9fb3c4
Move concourse to gp-extension-ci repo (#383)
zhrt123 Oct 19, 2023
a050a06
Fix flaky test test_relation_size. (#387)
zhrt123 Oct 19, 2023
b9bf85a
Fix wrong test result on GP6. (#388)
zhrt123 Oct 19, 2023
b44a227
Fix flaky test test_dbname_encoding (#389)
zhrt123 Oct 19, 2023
5668fb1
Refactor quota info map (#380)
zhrt123 Oct 20, 2023
73f6720
[CMake] Fix package name for Rocky9/RHEL9 (#391)
beeender Oct 20, 2023
dbdf3ab
Rename diskquota.max_quotas to diskquota.max_quota_probe (#390)
zhrt123 Oct 22, 2023
32c5c3c
Fix wrong shmem allocation. (#401)
zhrt123 Nov 7, 2023
eaecbd2
Free tuple after use (#414)
Jan 10, 2024
9442640
fix: update acions (#417)
yihong0618 Jan 22, 2024
1304d03
Invalidate diskquota.table_size entries during startup (#406)
RekGRpth Mar 7, 2024
d38fe13
Remove legacy CI and unused files from diskquota
tuhaihe Dec 9, 2025
1a6b974
Add diskquota support for Apache Cloudberry
tuhaihe Dec 9, 2025
ca98a3d
Doc: Add diskquota license for ASF compliance
tuhaihe Dec 12, 2025
031241f
Fix the regex matching bug of the GUC gp_resource_group_cgroup_parent
fairyfar Feb 9, 2026
8aea94b
Fix GPG verify path for staged release artifacts
tuhaihe Feb 26, 2026
d20a87e
Fix grammar: subscribe events calendar to subscribe to the events cal…
04cb Mar 1, 2026
f42ae30
Fix missing GUC_GPDB_NEED_SYNC for pax filter GUCs (#1590)
zhangyue1818 Mar 2, 2026
9e7fa13
Fix COPY FROM encoding error double-counting and enable SREH for tran…
avamingli Mar 3, 2026
364c047
Remove generated test file misc.sql (#1600)
gfphoenix78 Mar 3, 2026
26654d1
Fix sed -i compatibility on macOS in configure (#1598)
zhangyue1818 Mar 3, 2026
36c46f7
Support matview status maintenance for multi-table JOIN queries
avamingli Mar 2, 2026
c908b88
Fix RUN_GTEST/RUN_GBENCH leak into pax.so build
zhangyue1818 Mar 2, 2026
43425b7
Fix Oid display errors in the log or message
fairyfar Feb 28, 2026
17f6902
ORCA: Fix detection of mixed storage in partitioned tables with forei…
yjhjstz Mar 5, 2026
284c9ef
Fix COPY TO returning 0 rows during concurrent reorganize
gfphoenix78 Feb 25, 2026
ac25b1d
Fix release tarball base version naming
tuhaihe Mar 3, 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
  •  
  •  
  •  
1,909 changes: 1,909 additions & 0 deletions .github/workflows/build-cloudberry-rocky8.yml

Large diffs are not rendered by default.

18 changes: 15 additions & 3 deletions .github/workflows/build-cloudberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -309,10 +309,14 @@ jobs:
},
{"test":"ic-gpcontrib",
"make_configs":["gpcontrib/orafce:installcheck",
"gpcontrib/pxf_fdw:installcheck",
"gpcontrib/zstd:installcheck",
"gpcontrib/gp_sparse_vector:installcheck",
"gpcontrib/gp_toolkit:installcheck"]
"gpcontrib/gp_toolkit:installcheck",
"gpcontrib/gp_exttable_fdw:installcheck"]
},
{"test":"ic-diskquota",
"make_configs":["gpcontrib/diskquota:installcheck"],
"shared_preload_libraries":"diskquota-2.3"
},
{"test":"ic-fixme",
"make_configs":["src/test/regress:installcheck-fixme"],
Expand Down Expand Up @@ -1379,7 +1383,15 @@ jobs:

{
chmod +x "${SRC_DIR}"/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
if ! time su - gpadmin -c "cd ${SRC_DIR} && NUM_PRIMARY_MIRROR_PAIRS='${{ matrix.num_primary_mirror_pairs }}' SRC_DIR=${SRC_DIR} ${SRC_DIR}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then

# Build BLDWRAP_POSTGRES_CONF_ADDONS for shared_preload_libraries if specified
EXTRA_CONF=""
if [[ -n "${{ matrix.shared_preload_libraries }}" ]]; then
EXTRA_CONF="shared_preload_libraries='${{ matrix.shared_preload_libraries }}'"
echo "Adding shared_preload_libraries: ${{ matrix.shared_preload_libraries }}"
fi

if ! time su - gpadmin -c "cd ${SRC_DIR} && NUM_PRIMARY_MIRROR_PAIRS='${{ matrix.num_primary_mirror_pairs }}' BLDWRAP_POSTGRES_CONF_ADDONS=\"${EXTRA_CONF}\" SRC_DIR=${SRC_DIR} ${SRC_DIR}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then
echo "::error::Demo cluster creation failed"
exit 1
fi
Expand Down
22 changes: 18 additions & 4 deletions .github/workflows/build-deb-cloudberry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,6 @@ jobs:
},
{"test":"ic-deb-gpcontrib",
"make_configs":["gpcontrib/orafce:installcheck",
"gpcontrib/pxf_fdw:installcheck",
"gpcontrib/zstd:installcheck",
"gpcontrib/gp_sparse_vector:installcheck",
"gpcontrib/gp_toolkit:installcheck"]
Expand Down Expand Up @@ -555,8 +554,15 @@ jobs:
exit 1
fi

ARCH="amd64"
CBDB_PKG_VERSION=${CBDB_VERSION}-${BUILD_NUMBER}-$(git --git-dir=.git rev-list HEAD --count).$(git --git-dir=.git rev-parse --short HEAD)
ARCH=$(dpkg --print-architecture)
# Detect OS distribution (e.g., ubuntu22.04, debian12)
if [ -f /etc/os-release ]; then
. /etc/os-release
OS_DISTRO=$(echo "${ID}${VERSION_ID}" | tr '[:upper:]' '[:lower:]')
else
OS_DISTRO="unknown"
fi
CBDB_PKG_VERSION=${CBDB_VERSION}-${BUILD_NUMBER}-${OS_DISTRO}

echo "Produced artifacts"
ls -l ../
Expand Down Expand Up @@ -1316,7 +1322,15 @@ jobs:

{
chmod +x "${SRC_DIR}"/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh
if ! time su - gpadmin -c "cd ${SRC_DIR} && NUM_PRIMARY_MIRROR_PAIRS='${{ matrix.num_primary_mirror_pairs }}' SRC_DIR=${SRC_DIR} ${SRC_DIR}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then

# Build BLDWRAP_POSTGRES_CONF_ADDONS for shared_preload_libraries if specified
EXTRA_CONF=""
if [[ -n "${{ matrix.shared_preload_libraries }}" ]]; then
EXTRA_CONF="shared_preload_libraries='${{ matrix.shared_preload_libraries }}'"
echo "Adding shared_preload_libraries: ${{ matrix.shared_preload_libraries }}"
fi

if ! time su - gpadmin -c "cd ${SRC_DIR} && NUM_PRIMARY_MIRROR_PAIRS='${{ matrix.num_primary_mirror_pairs }}' BLDWRAP_POSTGRES_CONF_ADDONS=\"${EXTRA_CONF}\" SRC_DIR=${SRC_DIR} ${SRC_DIR}/devops/build/automation/cloudberry/scripts/create-cloudberry-demo-cluster.sh"; then
echo "::error::Demo cluster creation failed"
exit 1
fi
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ config.status.lineno
autom4te.cache
configure.lineno
Debug
Release
pgsql.sln
cscope.*
build.sh
Expand Down
8 changes: 7 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -311,12 +311,18 @@ The Greenplum Database software includes:
gpcontrib/orafce/*
see licenses/LICENSE-orafce.txt

----------------------------
----------------------------
BSD 3 Clause License

gpcontrib/gpcloud/test/googletest
see licenses/LICENSE-googletest.txt

----------------------------
PostgreSQL License

gpcontrib/diskquota/*
see licenses/LICENSE-diskquota.txt

================================================================================
Apache Cloudberry includes codes from

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ feedback, and chat:
| New ideas / Feature Requests | Share ideas for new features, visit [GitHub Discussions - Ideas](https://github.com/apache/cloudberry/discussions/categories/ideas-feature-requests). |
| Report bugs | Problems and issues in Apache Cloudberry core. If you find bugs, welcome to submit them [here](https://github.com/apache/cloudberry/issues). |
| Report a security vulnerability | View our [security policy](https://github.com/apache/cloudberry/security/policy) to learn how to report and contact us. |
| Community events | Including meetups, webinars, conferences, and more events, visit the [Events page](https://cloudberry.apache.org/community/events) and subscribe events calendar. |
| Community events | Including meetups, webinars, conferences, and more events, visit the [Events page](https://cloudberry.apache.org/community/events) and subscribe to the events calendar. |
| Documentation | [Official documentation](https://cloudberry.apache.org/docs/) for Cloudberry. You can explore it to discover more details about us. |

## Contribution
Expand Down
106 changes: 104 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,7 @@ BISON
MKDIR_P
LN_S
TAR
USE_MDBLOCALES
install_bin
INSTALL_DATA
INSTALL_SCRIPT
Expand Down Expand Up @@ -946,6 +947,7 @@ with_rt
with_libcurl
with_apr_config
with_gnu_ld
with_mdblocales
with_ssl
with_openssl
enable_openssl_redirect
Expand Down Expand Up @@ -1705,6 +1707,7 @@ Optional Packages:
--without-libcurl do not use libcurl
--with-apr-config=PATH path to apr-1-config utility
--with-gnu-ld assume the C compiler uses GNU ld [default=no]
--without-mdblocales build without MDB locales
--with-ssl=LIB use LIB for SSL/TLS support (openssl)
--with-openssl obsolete spelling of --with-ssl=openssl

Expand Down Expand Up @@ -2921,7 +2924,6 @@ PG_PACKAGE_VERSION=14.4




ac_aux_dir=
for ac_dir in config "$srcdir"/config; do
if test -f "$ac_dir/install-sh"; then
Expand Down Expand Up @@ -12220,6 +12222,38 @@ case $INSTALL in
esac


#
# MDB locales
#




# Check whether --with-mdblocales was given.
if test "${with_mdblocales+set}" = set; then :
withval=$with_mdblocales;
case $withval in
yes)

$as_echo "#define USE_MDBLOCALES 1" >>confdefs.h

;;
no)
:
;;
*)
as_fn_error $? "no argument expected for --with-mdblocales option" "$LINENO" 5
;;
esac

else
with_mdblocales=no

fi




if test -z "$TAR"; then
for ac_prog in tar
do
Expand Down Expand Up @@ -12856,6 +12890,56 @@ $as_echo "${python_libspec} ${python_additional_libs}" >&6; }



fi

if test "$with_mdblocales" = yes; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mdb_setlocale in -lmdblocales" >&5
$as_echo_n "checking for mdb_setlocale in -lmdblocales... " >&6; }
if ${ac_cv_lib_mdblocales_mdb_setlocale+:} false; then :
$as_echo_n "(cached) " >&6
else
ac_check_lib_save_LIBS=$LIBS
LIBS="-lmdblocales $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */

/* Override any GCC internal prototype to avoid an error.
Use char because int might match the return type of a GCC
builtin and then its argument prototype would still apply. */
#ifdef __cplusplus
extern "C"
#endif
char mdb_setlocale ();
int
main ()
{
return mdb_setlocale ();
;
return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
ac_cv_lib_mdblocales_mdb_setlocale=yes
else
ac_cv_lib_mdblocales_mdb_setlocale=no
fi
rm -f core conftest.err conftest.$ac_objext \
conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mdblocales_mdb_setlocale" >&5
$as_echo "$ac_cv_lib_mdblocales_mdb_setlocale" >&6; }
if test "x$ac_cv_lib_mdblocales_mdb_setlocale" = xyes; then :
cat >>confdefs.h <<_ACEOF
#define HAVE_LIBMDBLOCALES 1
_ACEOF

LIBS="-lmdblocales $LIBS"

else
as_fn_error $? "mdblocales library not found" "$LINENO" 5
fi

fi

if test x"$cross_compiling" = x"yes" && test -z "$with_system_tzdata"; then
Expand Down Expand Up @@ -17077,6 +17161,17 @@ fi

done

fi

if test "$with_mdblocales" = yes; then
ac_fn_c_check_header_mongrel "$LINENO" "mdblocales.h" "ac_cv_header_mdblocales_h" "$ac_includes_default"
if test "x$ac_cv_header_mdblocales_h" = xyes; then :

else
as_fn_error $? "mdblocales header not found." "$LINENO" 5
fi


fi

if test "$with_gssapi" = yes ; then
Expand Down Expand Up @@ -24750,4 +24845,11 @@ fi
# The configure args contain '-Wl,-rpath,\$$ORIGIN`, when it falls
# as a C literal string, it's invalid, so converting `\` to `\\`
# to be correct for C program.
sed -i '/define CONFIGURE_ARGS/s,\([^\\]\)\\\$\$,\1\\\\$$,g' src/include/pg_config.h
case $build_os in
darwin*)
sed -i '' '/define CONFIGURE_ARGS/s,\([^\\]\)\\\$\$,\1\\\\$$,g' src/include/pg_config.h
;;
*)
sed -i '/define CONFIGURE_ARGS/s,\([^\\]\)\\\$\$,\1\\\\$$,g' src/include/pg_config.h
;;
esac
17 changes: 17 additions & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,14 @@ case $INSTALL in
esac
AC_SUBST(install_bin)

#
# MDB locales
#

PGAC_ARG_BOOL(with, mdblocales, yes, [build without MDB locales],
[AC_DEFINE([USE_MDBLOCALES], 1, [Define to 1 to build with MDB locales. (--with-mdblocales)])])
AC_SUBST(USE_MDBLOCALES)

PGAC_PATH_PROGS(TAR, tar)
AC_PROG_LN_S
AC_PROG_MKDIR_P
Expand Down Expand Up @@ -1620,6 +1628,11 @@ failure. It is possible the compiler isn't looking in the proper directory.
Use --without-zlib to disable zlib support.])])
fi

if test "$with_mdblocales" = yes; then
AC_CHECK_LIB(mdblocales, mdb_setlocale, [],
[AC_MSG_ERROR([mdblocales library not found])])
fi

if test "$enable_external_fts" = yes; then
AC_CHECK_LIB(jansson, jansson_version_str, [],
[AC_MSG_ERROR([jansson library not found or version is too old, version must >= 2.13])])
Expand Down Expand Up @@ -1999,6 +2012,10 @@ if test "$with_lz4" = yes; then
AC_CHECK_HEADERS(lz4.h, [], [AC_MSG_ERROR([lz4.h header file is required for LZ4])])
fi

if test "$with_mdblocales" = yes; then
AC_CHECK_HEADER(mdblocales.h, [], [AC_MSG_ERROR([mdblocales header not found.])])
fi

if test "$with_gssapi" = yes ; then
AC_CHECK_HEADERS(gssapi/gssapi.h, [],
[AC_CHECK_HEADERS(gssapi.h, [], [AC_MSG_ERROR([gssapi.h header file is required for GSSAPI])])])
Expand Down
2 changes: 1 addition & 1 deletion contrib/citext/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ DATA = citext--1.4.sql \
citext--1.0--1.1.sql
PGFILEDESC = "citext - case-insensitive character string data type"

REGRESS = citext
REGRESS = create_index_acl citext
REGRESS_OPTS += --init-file=$(top_srcdir)/src/test/regress/init_file

ifdef USE_PGXS
Expand Down
Loading
Loading