This is an automated email from the ASF dual-hosted git repository.
reshke pushed a change to branch REL_2_STABLE
in repository https://gitbox.apache.org/repos/asf/cloudberry.git
from 49833d6ea46 Last-minute updates for release notes.
new 65f9631ad4b Fix handling of R/W expanded datums that are passed to SQL
functions.
new d733322bb1b Fix catalog lookup with the wrong snapshot during logical
decoding.
new 344b747b0d5 Back-Patch "Add wait_for_subscription_sync for TAP tests."
new bc9d66a2adc doc: clarify DROP EXTENSION dependent members text
new 9bf75d65c61 doc: improve wal_level docs for the 'minimal' level
new b161cdcced8 doc: clarify CREATE TABLE AS ... IF NOT EXISTS
new ed59aaf2028 doc: document the CREATE INDEX "USING" clause
new f267c5e22c4 doc: clarify configuration file for Windows builds
new 062a84d8b6b doc: warn about security issues around log files
new a71abf1fb0a doc: add section about heap-only tuples (HOT)
new eef58123365 doc: add missing role attributes to user management
section
new 17e72030706 pg_upgrade: Fix some minor code issues
new 4e22650ef59 Catch stack overflow when recursing in
transformFromClauseItem().
new 870eccbbbd1 Avoid misbehavior when hash_table_bytes < bucket_size.
new a63cb056b0f Fix outdated --help message for postgres -f
new 743ab4838ad Add missing bad-PGconn guards in libpq entry points.
new d5217df4a89 doc: fix wrong tag used in create sequence manual.
new 39c83b9a5dd Fix replica identity check for a partitioned table.
new c5088b0fffe doc: Remove reference to tty libpq connstring param
new 519e6d7927a Fix assert in logicalmsg_desc
new 6952e55f34f Fix subtly-incorrect matching of parent and child
partitioned indexes.
new f1abe6d3b20 Add CHECK_FOR_INTERRUPTS while decoding changes.
new 22d46773072 Doc: prefer sysctl to /proc/sys in docs and comments.
new 5bacc5f21e3 Doc: document possible need to raise kernel's somaxconn
limit.
new 1173977e7b0 Defend against stack overrun in a few more places.
new 3668a36f085 Use correct connection for cancellation in frontend's
parallel slots
new e961b141786 Doc: fix example of recursive query.
new 25fab8c6c78 Prevent WAL corruption after a standby promotion.
new 712ed47f694 On NetBSD, force dynamic symbol resolution at postmaster
start.
new adf76170d81 In the Snowball dictionary, don't try to stem
excessively-long words.
new d2b804b4c7b Prevent long-term memory leakage in autovacuum launcher.
new 2ce473e8a17 doc: simplify WITH clause syntax in CREATE DATABASE
new daafefd02ca doc: show direction is optional in FETCH/MOVE's FROM/IN
syntax
new 718f4995ad6 doc: document the maximum char/varchar length value
new 9f35913d3df doc: mention that SET TIME ZONE often needs to be quoted
new ac0ea913aa9 doc: warn of SECURITY DEFINER schemas for non-sql_body
functions
new ce3c5a151b6 doc: split out the NATURAL/CROSS JOIN in SELECT syntax
new 859498a7acb doc: clarify that pgcrypto's gen_random_uuid calls core
func.
new b1304ffb556 doc: use FILTER in aggregate example
new a8ad0c12519 doc: mention "bloom" as a possible index access method
new fd3b8cbb5ba doc: in create statistics docs, mention analyze for
parent info
new 5411d47dd64 Fix some possibly latent bugs in slab.c
new 6e655a3f8ce Doc: Update struct Trigger definition.
new 4f5b658ead8 doc: clarify recursion internal behavior
new 4a55c711933 doc: simplify docs about analyze and
inheritance/partitions
new fbbc98733db doc: Fix two queries related to jsonb functions
new b2908dd5a0e Doc: clarify partitioned table limitations
new be07a0b880a Choose FK name correctly during partition attachment
new bc6fc6e0212 Reject bogus output from uuid_create(3).
new be76f44573c Fix possible omission of variable storage markers in ECPG.
new 64df81664a6 Fix NaN comparison in circle_same test
new 6c075cd7bc8 doc: Fix link to FreeBSD documentation project
new 6247fb51fde Fix RAT check violation from e5c72eb
new 0285cbf2a9b Don't reference out-of-bounds array elements in
brin_minmax_multi.c
new 498d63bd7e3 Expand palloc/pg_malloc API for more type safety
new b154d146dd1 Fix incorrect value for "strategy" with deflateParams() in
walmethods.c
new 0cf152e67ec postgres_fdw: Avoid 'variable not found in subplan target
list' error.
new 0d587e1065b Detect format-string mistakes in the libpq_pipeline test
module.
new f2946e9a824 Improve plpgsql's ability to handle arguments declared as
RECORD.
new 8b37b16f32f Include c.h instead of postgres.h in
src/port/*p{read,write}*.c
new 43f2d311add Make check_usermap() parameter names consistent.
new 1ca11d1fe90 Future-proof the recursion inside ExecShutdownNode().
new e0050406c1d Fix incorrect variable types for origin IDs in decode.c
new 0dc9f504c64 doc: Fix parameter name for
pg_create_logical_replication_slot()
new 369bf8a45ef Suppress variable-set-but-not-used warnings from clang 15.
new 574470960a4 Suppress more variable-set-but-not-used warnings from
clang 15.
new 4ca2ef5b58b docs: Fix snapshot name in SET TRANSACTION docs.
new d271bbb0d60 Fix thinko in comment.
new d8710d5701d Fix race condition where heap_delete() fails to pin VM
page.
new 2642e8bd1c8 Stop using PQsendQuery in libpq_pipeline
new e828e8181d6 Add missing source files to pg_waldump/nls.mk
new 383b8c2da86 Change some errdetail() to errdetail_internal()
new 0a55033b733 revert "warn of SECURITY DEFINER schemas for non-sql_body
funcs"
new 76337e04bed doc: clarify internal behavior of RECURSIVE CTE queries
new c9298097b66 Update comment in ExecInsert() regarding batch insertion.
new 1b1f4195590 doc: Fix PQsslAttribute docs for compression
new 59d05834610 Avoid improbable PANIC during heap_update, redux.
new ea5b86d797d Fix self-referencing foreign keys with partitioned tables
new fc19c771acf Ensure all perl test modules are installed
new 33a785cf4c0 Harden pmsignal.c against clobbered shared memory.
new d85adc6855b Doc: improve recommended systemd unit file.
new 2d19ca7476e Fix typo in CREATE PUBLICATION reference page
new fa9b4408c7c libpq: Reset singlerow flag correctly in pipeline mode
new 28dd7b77aec Use libc's snprintf, not sprintf, for special cases in
snprintf.c.
new 2b7d10dd3f2 Rename parser token REF to REF_P to avoid a symbol
conflict.
new de7e31a4c04 Guard against table-AM-less relations in planner.
new 380c15bb6f1 Reject non-ON-SELECT rules that are named "_RETURN".
new 25cc0d0ca33 doc: warn pg_stat_reset() can cause vacuum/analyze
problems
new 70ba12531b0 doc: move the mention of aggregate JSON functions up in
section
new 75351258959 Track LLVM 15 changes.
new 4e789dc0271 Fix assertion failures while processing NEW_CID record in
logical decoding.
new 2153a7a5b3f Doc: fix outdated wording about parallel seq scans
new e59dad13a05 Fix executing invalidation messages generated by
subtransactions during decoding.
new a83ad83ed28 Add CHECK_FOR_INTERRUPTS while restoring changes during
decoding.
The 94 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:
configure | 89 ++++++++++
configure.ac | 3 +
.../src/test/regress/expected/geometry.out | 3 +-
contrib/postgres_fdw/expected/postgres_fdw.out | 79 +++++++++
contrib/postgres_fdw/postgres_fdw.c | 49 ++++++
contrib/postgres_fdw/sql/postgres_fdw.sql | 13 ++
contrib/test_decoding/Makefile | 2 +-
.../expected/catalog_change_snapshot.out | 134 +++++++++++++++
.../specs/catalog_change_snapshot.spec | 62 +++++++
contrib/uuid-ossp/uuid-ossp.c | 12 ++
doc/src/sgml/acronyms.sgml | 4 +-
doc/src/sgml/btree.sgml | 3 +-
doc/src/sgml/catalogs.sgml | 2 +-
doc/src/sgml/config.sgml | 35 ++--
doc/src/sgml/datatype.sgml | 2 +
doc/src/sgml/ddl.sgml | 13 +-
doc/src/sgml/docguide.sgml | 2 +-
doc/src/sgml/func.sgml | 23 ++-
doc/src/sgml/indexam.sgml | 3 +-
doc/src/sgml/indices.sgml | 9 +-
doc/src/sgml/install-windows.sgml | 2 +-
doc/src/sgml/installation.sgml | 2 +-
doc/src/sgml/libpq.sgml | 13 +-
doc/src/sgml/maintenance.sgml | 20 ++-
doc/src/sgml/monitoring.sgml | 13 +-
doc/src/sgml/parallel.sgml | 5 +-
doc/src/sgml/pgcrypto.sgml | 5 +-
doc/src/sgml/queries.sgml | 7 +-
doc/src/sgml/query.sgml | 13 +-
doc/src/sgml/ref/analyze.sgml | 22 +--
doc/src/sgml/ref/create_database.sgml | 4 +-
doc/src/sgml/ref/create_index.sgml | 5 +-
doc/src/sgml/ref/create_publication.sgml | 4 +-
doc/src/sgml/ref/create_sequence.sgml | 2 +-
doc/src/sgml/ref/create_statistics.sgml | 4 +-
doc/src/sgml/ref/create_table.sgml | 4 +-
doc/src/sgml/ref/create_table_as.sgml | 5 +-
doc/src/sgml/ref/drop_extension.sgml | 8 +-
doc/src/sgml/ref/fetch.sgml | 5 +-
doc/src/sgml/ref/move.sgml | 5 +-
doc/src/sgml/ref/select.sgml | 46 ++---
doc/src/sgml/ref/set.sgml | 9 +-
doc/src/sgml/ref/set_transaction.sgml | 2 +-
doc/src/sgml/runtime.sgml | 29 +++-
doc/src/sgml/storage.sgml | 70 ++++++++
doc/src/sgml/trigger.sgml | 1 +
doc/src/sgml/user-manag.sgml | 33 ++++
doc/src/sgml/uuid-ossp.sgml | 2 +-
pom.xml | 1 +
src/backend/access/brin/brin_minmax_multi.c | 172 ++++++++++---------
src/backend/access/gist/gistxlog.c | 2 +-
src/backend/access/heap/heapam.c | 30 ++--
src/backend/access/heap/hio.c | 41 +++--
src/backend/access/rmgrdesc/logicalmsgdesc.c | 2 +-
src/backend/access/transam/xlog.c | 26 ++-
src/backend/catalog/dependency.c | 6 +-
src/backend/catalog/pg_constraint.c | 13 +-
src/backend/commands/copyfrom.c | 4 +-
src/backend/commands/indexcmds.c | 23 ++-
src/backend/commands/tablecmds.c | 33 ++--
src/backend/commands/user.c | 4 +-
src/backend/executor/execProcnode.c | 9 +-
src/backend/executor/execReplication.c | 7 +
src/backend/executor/functions.c | 19 ++-
src/backend/executor/nodeHash.c | 2 +-
src/backend/executor/nodeModifyTable.c | 5 +-
src/backend/jit/llvm/llvmjit.c | 18 ++
src/backend/jit/llvm/llvmjit_inline.cpp | 1 +
src/backend/main/main.c | 2 +-
src/backend/optimizer/util/plancat.c | 16 ++
src/backend/optimizer/util/var.c | 3 -
src/backend/parser/gram.y | 9 +-
src/backend/parser/parse_clause.c | 3 +
src/backend/postmaster/autovacuum.c | 3 +
src/backend/postmaster/postmaster.c | 2 +-
src/backend/regex/regc_lex.c | 5 +-
src/backend/replication/logical/decode.c | 19 ++-
src/backend/replication/logical/reorderbuffer.c | 18 ++
src/backend/replication/logical/snapbuild.c | 137 ++++++++++++++-
src/backend/rewrite/rewriteDefine.c | 12 ++
src/backend/snowball/dict_snowball.c | 18 +-
src/backend/storage/ipc/pmsignal.c | 56 ++++--
src/backend/tsearch/spell.c | 4 +
src/backend/utils/adt/acl.c | 4 +-
src/backend/utils/adt/array_typanalyze.c | 4 +-
src/backend/utils/adt/geo_ops.c | 5 +-
src/backend/utils/adt/jsonfuncs.c | 4 +-
src/backend/utils/adt/jsonpath_gram.y | 1 +
src/backend/utils/adt/like_support.c | 4 +
src/backend/utils/mmgr/slab.c | 14 +-
src/bin/pg_basebackup/walmethods.c | 10 +-
src/bin/pg_upgrade/pg_upgrade.h | 2 +-
src/bin/pg_waldump/nls.mk | 7 +-
src/bin/pgbench/exprparse.y | 5 +-
src/common/jsonapi.c | 2 +-
src/fe_utils/parallel_slot.c | 2 +-
src/include/common/fe_memutils.h | 28 +++
src/include/libpq/hba.h | 2 +-
src/include/parser/kwlist.h | 2 +-
src/include/replication/snapbuild.h | 3 +
src/include/utils/palloc.h | 22 +++
src/interfaces/ecpg/preproc/ecpg.trailer | 8 +-
src/interfaces/ecpg/preproc/type.h | 1 +
.../ecpg/test/expected/preproc-variable.c | 93 +++++-----
.../ecpg/test/expected/preproc-variable.stderr | 162 +++++++++---------
.../ecpg/test/expected/preproc-variable.stdout | 1 +
src/interfaces/ecpg/test/preproc/variable.pgc | 9 +
src/interfaces/libpq/fe-exec.c | 16 +-
src/interfaces/libpq/fe-secure-openssl.c | 2 +-
src/pl/plpgsql/src/expected/plpgsql_record.out | 35 ++++
src/pl/plpgsql/src/pl_comp.c | 34 +++-
src/pl/plpgsql/src/sql/plpgsql_record.sql | 11 ++
src/port/pread.c | 2 +-
src/port/preadv.c | 2 +-
src/port/pwrite.c | 2 +-
src/port/pwritev.c | 2 +-
src/port/snprintf.c | 14 +-
src/template/netbsd | 9 +
src/test/modules/libpq_pipeline/libpq_pipeline.c | 187 ++++++---------------
.../libpq_pipeline/traces/pipeline_abort.trace | 6 +-
.../libpq_pipeline/traces/pipeline_idle.trace | 67 +-------
.../modules/libpq_pipeline/traces/singlerow.trace | 20 +++
src/test/perl/Makefile | 6 +-
src/test/perl/PostgresNode.pm | 44 +++++
src/test/regress/expected/create_function_3.out | 19 ++-
.../expected/create_function_3_optimizer.out | 19 ++-
src/test/regress/expected/foreign_key.out | 81 +++++++++
src/test/regress/expected/geometry.out | 3 +-
src/test/regress/expected/indexing.out | 66 +++++++-
src/test/regress/expected/publication.out | 2 +
src/test/regress/input/constraints.source | 19 +++
src/test/regress/output/constraints.source | 23 +++
src/test/regress/sql/create_function_3.sql | 13 ++
src/test/regress/sql/foreign_key.sql | 55 ++++++
src/test/regress/sql/indexing.sql | 15 +-
src/test/regress/sql/publication.sql | 2 +
src/test/singlenode_regress/expected/geometry.out | 3 +-
src/test/subscription/t/001_rep_changes.pl | 18 +-
src/test/subscription/t/002_types.pl | 9 +-
src/test/subscription/t/004_sync.pl | 18 +-
src/test/subscription/t/005_encoding.pl | 9 +-
src/test/subscription/t/006_rewrite.pl | 9 +-
src/test/subscription/t/008_diff_schema.pl | 12 +-
src/test/subscription/t/010_truncate.pl | 8 +-
src/test/subscription/t/011_generated.pl | 5 +-
src/test/subscription/t/013_partition.pl | 20 +--
src/test/subscription/t/014_binary.pl | 5 +-
src/test/subscription/t/015_stream.pl | 9 +-
src/test/subscription/t/016_stream_subxact.pl | 9 +-
src/test/subscription/t/017_stream_ddl.pl | 9 +-
.../subscription/t/018_stream_subxact_abort.pl | 9 +-
.../subscription/t/019_stream_subxact_ddl_abort.pl | 9 +-
src/test/subscription/t/021_alter_sub_pub.pl | 18 +-
src/test/subscription/t/100_bugs.pl | 14 +-
154 files changed, 2119 insertions(+), 852 deletions(-)
create mode 100644 contrib/test_decoding/expected/catalog_change_snapshot.out
create mode 100644 contrib/test_decoding/specs/catalog_change_snapshot.spec
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]