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 e416feac9b3 PAX regress: align AOCO_Compression size checks with main
new 2071467a660 Harden tsvector code against overflows.
new 1272e69cf63 Harden tsquery code against overflows.
new 15bda11af17 Fix potential buffer overrun in regexp match/split
functions.
new 19dc66b5f71 Be more wary about constant's datatype in scalarineqsel().
new 5645d474f5e Replace fixed-size, too-short array with a palloc'd one.
new 447c126730b Protect some fixed-size arrays that have FUNC_MAX_ARGS
elements.
new 480f3605688 Fix pg_trgm's picksplit function with all-true datums
new 1f659fd9758 Use palloc_array() in pltcl and plperl to avoid overflow
new 3c73fd01c2d ecpg: Fix out-of-bound writes due to processing of invalid
bytea data
new c1f6aa2473f Obstruct EXTRACT() field name deparse injection.
new a872b22d44a Cross-check the type of a portal running EXECUTE or FETCH.
new 879fbfca96d Check for USAGE privilege on the subtype in CREATE TYPE AS
RANGE.
new efab4779395 Check for USAGE privilege on the composite type in ALTER
TABLE OF.
new 813060f9249 Invalidate plan cache after role changes.
new 4a804090d3d Save/restore more lexer state when skipping text due to
\if.
new b85a3a9bf4d Fix errorhandling for PGP encryption
new 838ee147c89 pgcrypto: Add option to revert to prior decryption behavior
new 00f13ea6799 psql: Don't do backquote expansion in \unrestrict.
new 83f59e0ae73 Guard against overlength time zone abbreviations in
to_char().
new d3ee869e0e3 Avoid unnecessary plancache revalidation of utility
statements.
new 826f60233e7 Backport fixups
The 21 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:
contrib/pg_trgm/trgm_gist.c | 4 +-
contrib/pgcrypto/expected/pgp-decrypt.out | 26 +++++
contrib/pgcrypto/expected/pgp-decrypt_1.out | 32 +++++-
.../{pgp-encrypt.out => pgp-encrypt_1.out} | 12 +-
contrib/pgcrypto/expected/pgp-info.out | 3 +-
contrib/pgcrypto/expected/pgp-pubkey-decrypt.out | 30 +++++
contrib/pgcrypto/expected/pgp-pubkey-decrypt_1.out | 30 +++++
contrib/pgcrypto/pgp-cfb.c | 28 ++++-
contrib/pgcrypto/pgp-decrypt.c | 9 +-
contrib/pgcrypto/pgp-encrypt.c | 6 +-
contrib/pgcrypto/pgp-pgsql.c | 2 +
contrib/pgcrypto/pgp-pubkey.c | 9 +-
contrib/pgcrypto/pgp.c | 9 ++
contrib/pgcrypto/pgp.h | 7 +-
contrib/pgcrypto/sql/pgp-decrypt.sql | 26 +++++
contrib/pgcrypto/sql/pgp-pubkey-decrypt.sql | 27 +++++
doc/src/sgml/pgcrypto.sgml | 32 ++++++
doc/src/sgml/ref/create_type.sgml | 5 +
doc/src/sgml/ref/psql-ref.sgml | 5 +
src/backend/catalog/namespace.c | 6 +-
src/backend/commands/tablecmds.c | 5 +
src/backend/commands/typecmds.c | 4 +
src/backend/executor/nodeWindowAgg.c | 33 ++++++
src/backend/parser/analyze.c | 52 +++++++--
src/backend/parser/parse_agg.c | 18 ++-
src/backend/parser/parse_func.c | 29 +++++
src/backend/tcop/pquery.c | 4 +-
src/backend/tsearch/to_tsany.c | 23 +++-
src/backend/tsearch/ts_parse.c | 27 ++++-
src/backend/utils/adt/acl.c | 2 +-
src/backend/utils/adt/formatting.c | 21 +++-
src/backend/utils/adt/regexp.c | 25 +++--
src/backend/utils/adt/ruleutils.c | 3 +-
src/backend/utils/adt/selfuncs.c | 3 +-
src/backend/utils/adt/tsquery_util.c | 13 ++-
src/backend/utils/adt/tsvector.c | 28 +++--
src/backend/utils/adt/tsvector_op.c | 44 +++++++-
src/backend/utils/cache/plancache.c | 125 ++++++++++++++-------
src/backend/utils/fmgr/funcapi.c | 6 +-
src/bin/psql/command.c | 35 ++++--
src/bin/psql/psqlscanslash.h | 5 +
src/bin/psql/psqlscanslash.l | 38 +++++++
src/fe_utils/conditional.c | 34 ++++++
src/include/fe_utils/conditional.h | 17 ++-
src/include/fe_utils/psqlscan.h | 3 +
src/include/fe_utils/psqlscan_int.h | 17 +++
src/include/parser/analyze.h | 1 +
src/include/tsearch/ts_type.h | 44 +++++---
src/include/utils/acl.h | 3 +
src/interfaces/ecpg/ecpglib/data.c | 7 ++
src/interfaces/ecpg/ecpglib/error.c | 7 ++
src/interfaces/ecpg/include/ecpgerrno.h | 1 +
src/interfaces/ecpg/test/expected/sql-bytea.c | 27 ++++-
src/interfaces/ecpg/test/expected/sql-bytea.stderr | 24 +++-
src/interfaces/ecpg/test/sql/bytea.pgc | 5 +
src/pl/plperl/SPI.xs | 6 +-
src/pl/plperl/plperl.c | 38 +++----
src/pl/plpgsql/src/expected/plpgsql_call.out | 17 +++
src/pl/plpgsql/src/pl_comp.c | 14 +++
src/pl/plpgsql/src/sql/plpgsql_call.sql | 18 +++
src/pl/tcl/pltcl.c | 42 +++----
src/test/regress/expected/privileges.out | 6 +
src/test/regress/expected/psql.out | 16 +++
src/test/regress/expected/rangetypes.out | 15 +++
src/test/regress/expected/rangetypes_optimizer.out | 15 +++
src/test/regress/sql/privileges.sql | 5 +
src/test/regress/sql/psql.sql | 11 ++
src/test/regress/sql/rangetypes.sql | 14 +++
src/tools/pgindent/typedefs.list | 1 +
69 files changed, 1062 insertions(+), 197 deletions(-)
copy contrib/pgcrypto/expected/{pgp-encrypt.out => pgp-encrypt_1.out} (97%)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]