This is an automated email from the ASF dual-hosted git repository.
my-ship-it pushed a change to branch REL_2_STABLE
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
from fea29b2c0ce fix(orca): avoid crash on ordered-set aggregate without
direct args
new b406832881a Add AI_GUIDLINE for clarification how to use AI agents
new bf32d43a263 CI: Add convenience packaging workflow with multi-platform
support
new 1ac939bfb8b ltree: Fix overflows with lquery parsing
new d1565468afc Fix overflows with ts_headline()
new cec4d0e4663 Remove test cases for field overflows in intarray and
ltree.
new 9b43b9c20c1 Use palloc_array() in a few more places to avoid overflow
new 9d83dc1d7fb Make palloc_array() and friends safe against integer
overflow.
new 1bdcd203874 Adapt ORCA for a935348f7 regression test changes
new 134c19789b3 Fix greenplum_path.sh GPHOME resolution under relative
symlinks
new 5664d3fee76 Fix PAX CException stack overflow by pass-by-reference and
shrinking buffer
new b3f374585fa Check for CREATE privilege on the schema in CREATE
STATISTICS.
new 0d28b94d16f libpq: Prevent some overflows of int/size_t
new f05fbd48c98 Adapt CBDB regression test suite for 07ffe0783
new c9d2b2fb261 pgcrypto: Fix buffer overflow in pgp_pub_decrypt_bytea()
new fd3c158b049 Fix encoding length for EUC_CN.
new 05155c38f5e Fix mb2wchar functions on short input.
new 2fff77200f3 Guard against unexpected dimensions of
oidvector/int2vector.
new 5ead54bcb66 Add a syscache on pg_extension.oid.
new 2b144252356 Require superuser to install a non-built-in selectivity
estimator.
new edc32714767 Harden _int_matchsel() against being attached to the wrong
operator.
new 1e00e5e5b3e Rebase fixes & RAT check fix
new f37eb5b0ca4 macOS: make PAX's liburing dependency optional
new f419c4517af macOS: provide HZ fallback for UDP interconnect
new 12aabcee892 Drop -Werror -Wextra -Wpedantic from ORCA C++ build
new 15b4d6db270 macOS: defer libpostgres.so's undefined symbols to load
time
new 0d939934ad3 macOS: PAX cmake portability
new 221de5e77bf macOS: PAX C++ portability
new a0d7746ea50 macOS: build the standalone libpaxformat reader
new 39ea98a0214 macOS: demote clang-strict warning categories in
Makefile.custom
new d207053d36a ic_udpifc: fix initSndBufferPool forward declaration
new a3c1f8432de PAX/toast: aux's TOAST goes to pg_toast, aux itself
clamped to PERMANENT
new acda293c075 Feature: add reject_partition_fullscan extension (#1713)
new 74a5b90d58a PAX: fix SIGSEGV in SUM stats merge during DELETE on
minmax columns
new 3f07a3e9478 PAX regress: refresh expected outputs for AO-like index
routing
new a27ca0ca9aa Cherry-pick some commits from the main branch
The 35 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.github/pull_request_template.md | 1 +
.github/workflows/README.md | 37 ++
.github/workflows/package-convenience-binaries.yml | 657 +++++++++++++++++++++
.gitmessage | 5 +
AGENTS.md.template | 297 ++++++++++
AI_GUIDELINE.md | 178 ++++++
README.md | 1 +
configure | 11 +-
configure.ac | 16 +-
contrib/extprotocol/gpextprotocol.c | 2 +-
contrib/hstore_plperl/hstore_plperl.c | 2 +-
contrib/hstore_plpython/hstore_plpython.c | 2 +-
contrib/intarray/_int_selfuncs.c | 14 +-
contrib/intarray/expected/_int.out | 3 -
contrib/intarray/sql/_int.sql | 2 -
contrib/interconnect/udp/ic_udpifc.c | 9 +-
contrib/ltree/expected/ltree.out | 32 +-
contrib/ltree/ltree_io.c | 1 +
contrib/ltree/sql/ltree.sql | 22 +-
contrib/pax_storage/CMakeLists.txt | 24 +-
contrib/pax_storage/Makefile | 21 +-
contrib/pax_storage/expected/delete_sum_stats.out | 53 ++
contrib/pax_storage/pax_schedule | 1 +
contrib/pax_storage/sql/delete_sum_stats.sql | 47 ++
contrib/pax_storage/src/cpp/CMakeLists.txt | 2 +-
.../pax_storage/src/cpp/catalog/pax_aux_table.cc | 25 +-
contrib/pax_storage/src/cpp/cmake/pax.cmake | 65 +-
contrib/pax_storage/src/cpp/cmake/pax_format.cmake | 42 +-
contrib/pax_storage/src/cpp/comm/fast_io.cc | 2 +
contrib/pax_storage/src/cpp/comm/fast_io.h | 11 +-
.../pax_storage/src/cpp/exceptions/CException.cc | 13 +-
.../pax_storage/src/cpp/exceptions/CException.h | 7 +-
.../src/cpp/storage/columns/pax_delta_encoding.cc | 8 +
.../src/cpp/storage/columns/pax_encoding_utils.cc | 4 +-
.../src/cpp/storage/columns/pax_encoding_utils.h | 8 +-
contrib/pax_storage/src/cpp/storage/file_system.h | 7 +
.../src/cpp/storage/local_file_system.cc | 18 +-
.../src/cpp/storage/micro_partition_stats.cc | 10 +-
.../src/cpp/storage/proto/proto_wrappers.h | 9 +
.../src/cpp/storage/proto/protobuf_stream.cc | 8 +-
.../src/cpp/storage/proto/protobuf_stream.h | 4 +-
contrib/pgcrypto/Makefile | 4 +-
contrib/pgcrypto/expected/pgp-pubkey-session.out | 47 ++
contrib/pgcrypto/meson.build | 110 ++++
contrib/pgcrypto/pgp-pubdec.c | 11 +-
contrib/pgcrypto/px.c | 1 +
contrib/pgcrypto/px.h | 2 +-
contrib/pgcrypto/scripts/pgp_session_data.py | 491 +++++++++++++++
contrib/pgcrypto/sql/pgp-pubkey-session.sql | 46 ++
devops/build/packaging/deb/ubuntu24.04/control | 2 +-
devops/build/packaging/deb/ubuntu24.04/rules | 19 +-
gpMgmt/bin/analyzedb | 4 +-
gpMgmt/bin/generate-cloudberry-env.sh | 14 +-
gpMgmt/bin/gpconfig | 3 +-
gpMgmt/bin/gppylib/commands/gp.py | 5 +-
gpMgmt/bin/gppylib/commands/pg.py | 6 +-
.../bin/gppylib/operations/buildMirrorSegments.py | 6 +-
.../mgmt_utils/steps/gpssh_exkeys_mgmt_utils.py | 32 +-
gpMgmt/test/behave/mgmt_utils/steps/mgmt_utils.py | 6 +-
.../mgmt_utils/steps/tablespace_mgmt_utils.py | 6 +-
gpMgmt/test/behave_utils/utils.py | 4 +-
gpcontrib/Makefile | 3 +-
gpcontrib/gp_replica_check/gp_replica_check.py | 4 +-
gpcontrib/pg_hint_plan/pg_hint_plan.c | 4 +-
.../reject_partition_fullscan/Makefile | 28 +-
.../reject_partition_fullscan--1.0.sql | 19 +-
.../reject_partition_fullscan.c | 488 +++++++++++++++
.../reject_partition_fullscan.control | 14 +-
.../sql/partition_fullscan_reject.sql | 132 +++++
pom.xml | 50 ++
src/Makefile.custom | 35 +-
src/backend/Makefile | 12 +-
src/backend/access/hash/hashfunc.c | 2 +
src/backend/access/nbtree/nbtcompare.c | 3 +
src/backend/catalog/pg_depend.c | 73 +++
src/backend/catalog/pg_type.c | 2 +-
src/backend/catalog/toasting.c | 9 +-
src/backend/cdb/dispatcher/cdbgang.c | 6 +-
src/backend/commands/extension.c | 130 ++++
src/backend/commands/operatorcmds.c | 55 +-
src/backend/commands/resgroupcmds.c | 8 +-
src/backend/commands/statscmds.c | 16 +-
src/backend/commands/tablecmds.c | 2 +-
src/backend/executor/nodeHashjoin.c | 15 +
src/backend/gporca/gporca.mk | 10 +
src/backend/tcop/utility.c | 2 +-
src/backend/tsearch/ts_selfuncs.c | 8 +-
src/backend/tsearch/wparser_def.c | 24 +-
src/backend/utils/adt/format_type.c | 6 +-
src/backend/utils/adt/int.c | 31 +-
src/backend/utils/adt/network_selfuncs.c | 48 +-
src/backend/utils/adt/oid.c | 31 +-
src/backend/utils/adt/xid8funcs.c | 4 +-
src/backend/utils/cache/syscache.c | 14 +
src/backend/utils/misc/fstream/fstream.c | 2 +-
src/backend/utils/misc/uriparser.c | 2 +-
src/bin/gpfdist/gpfdist.c | 2 +-
src/bin/pg_waldump/pg_waldump.c | 2 +-
src/bin/pgbench/pgbench.c | 2 +-
src/common/wchar.c | 66 ++-
src/include/catalog/dependency.h | 2 +
src/include/commands/defrem.h | 2 +-
src/include/commands/extension.h | 2 +
src/include/common/fe_memutils.h | 1 -
src/include/utils/builtins.h | 1 +
src/include/utils/elog.h | 59 ++
src/include/utils/palloc.h | 1 +
src/include/utils/rel.h | 3 +
src/include/utils/syscache.h | 7 +-
src/include/utils/tarrable.h | 2 +-
src/interfaces/ecpg/pgtypeslib/datetime.c | 2 +-
src/interfaces/libpq/fe-connect.c | 18 +-
src/interfaces/libpq/fe-exec.c | 101 +++-
src/interfaces/libpq/fe-print.c | 61 +-
src/interfaces/libpq/fe-protocol3.c | 67 ++-
src/interfaces/libpq/libpq-int.h | 11 +-
src/test/regress/GNUmakefile | 2 +
src/test/regress/expected/arrays.out | 5 +
src/test/regress/expected/dboptions.out | 2 +-
src/test/regress/expected/stats_ext.out | 46 ++
src/test/regress/expected/stats_ext_optimizer.out | 46 ++
src/test/regress/expected/tsearch.out | 10 +
src/test/regress/expected/tsearch_optimizer.out | 10 +
src/test/regress/gpdiff.pl | 2 +-
src/test/regress/pg_regress.c | 6 +-
src/test/regress/scan_flaky_fault_injectors.sh | 6 +
src/test/regress/sql/arrays.sql | 4 +
src/test/regress/sql/stats_ext.sql | 33 ++
src/test/regress/sql/tsearch.sql | 8 +
src/timezone/zic.c | 2 +-
src/tools/pgindent/typedefs.list | 1 +
131 files changed, 4096 insertions(+), 291 deletions(-)
create mode 100644 .github/workflows/package-convenience-binaries.yml
create mode 100644 AGENTS.md.template
create mode 100644 AI_GUIDELINE.md
create mode 100644 contrib/pax_storage/expected/delete_sum_stats.out
create mode 100644 contrib/pax_storage/sql/delete_sum_stats.sql
create mode 100644 contrib/pgcrypto/expected/pgp-pubkey-session.out
create mode 100644 contrib/pgcrypto/meson.build
create mode 100644 contrib/pgcrypto/scripts/pgp_session_data.py
create mode 100644 contrib/pgcrypto/sql/pgp-pubkey-session.sql
copy mcp-server/dotenv.example => gpcontrib/reject_partition_fullscan/Makefile
(63%)
copy contrib/pax_storage/src/cpp/paxformat_test.cc =>
gpcontrib/reject_partition_fullscan/reject_partition_fullscan--1.0.sql (70%)
create mode 100644
gpcontrib/reject_partition_fullscan/reject_partition_fullscan.c
copy mcp-server/src/cbmcp/__main__.py =>
gpcontrib/reject_partition_fullscan/reject_partition_fullscan.control (82%)
create mode 100644
gpcontrib/reject_partition_fullscan/sql/partition_fullscan_reject.sql
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]