This is an automated email from the ASF dual-hosted git repository.

reshke pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/cloudberry.git


    from 51967d33cb2 CI: bump GitHub Actions to Node.js 24 runtimes
     new ab889cec150 Harden tsvector code against overflows.
     new c45ec66f0c4 Harden tsquery code against overflows.
     new c6a85d5abc8 Fix potential buffer overrun in regexp match/split 
functions.
     new 99de710c94d Harden PL/Perl code against "tied" Perl arrays and hashes.
     new fb9ce0c6e36 Be more wary about constant's datatype in scalarineqsel().
     new 500347b69f2 Replace fixed-size, too-short array with a palloc'd one.
     new 5d2e262cbb4 pg_dump: avoid assuming how long pg_proc.protrftypes can 
be.
     new a993285b38f Protect some fixed-size arrays that have FUNC_MAX_ARGS 
elements.
     new f340892f897 Reject calls from SQL to functions that take or return 
type internal.
     new 1e1c24ca72c Return nulls honestly in aggregate "combine" functions.
     new 03b846c5282 Fix pg_trgm's picksplit function with all-true datums
     new b7b51eb0284 Use palloc_array() in pltcl and plperl to avoid overflow
     new 3f8a14a6f0f ecpg: Fix out-of-bound writes due to processing of invalid 
bytea data
     new ad77f063dfe Obstruct EXTRACT() field name deparse injection.
     new c19e6ebfbfa Use value of scram_iterations in mock_scram_secret().
     new d363cc82976 Empty search_path in amcheck.
     new 4e78d1ed955 Cross-check the type of a portal running EXECUTE or FETCH.
     new 114cfbf829b Avoid overflow in Levenshtein distance calculations.
     new 0f2c1c498f9 Check for USAGE privilege on the subtype in CREATE TYPE AS 
RANGE.
     new 08910980be7 Check for USAGE privilege on the composite type in ALTER 
TABLE OF.
     new 906a1cc4f5e Invalidate plan cache after role changes.
     new 02397f95193 Save/restore more lexer state when skipping text due to 
\if.
     new 359474ad38b Fix errorhandling for PGP encryption
     new 86b4be4e78c pgcrypto: Add option to revert to prior decryption behavior
     new c8f13cb98e7 psql: Don't do backquote expansion in \unrestrict.
     new 6b9df409a5d Backport adaptations

The 26 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/amcheck/expected/check_btree.out           |  17 ++-
 contrib/amcheck/sql/check_btree.sql                |  18 ++-
 contrib/amcheck/verify_nbtree.c                    |   2 +
 contrib/fuzzystrmatch/expected/fuzzystrmatch.out   |  14 ++
 contrib/fuzzystrmatch/sql/fuzzystrmatch.sql        |   3 +
 contrib/hstore_plperl/hstore_plperl.c              |  11 +-
 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                         |  27 +++-
 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/config.sgml                           |  13 ++
 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/libpq/auth-scram.c                     |   2 +-
 src/backend/parser/parse_agg.c                     |  18 ++-
 src/backend/parser/parse_coerce.c                  |   8 ++
 src/backend/parser/parse_func.c                    |  55 ++++++++
 src/backend/parser/parse_oper.c                    |  22 ++++
 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/levenshtein.c                |  89 ++++++-------
 src/backend/utils/adt/numeric.c                    |  16 +++
 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                |  40 +++++-
 src/backend/utils/adt/varlena.c                    |  14 ++
 src/backend/utils/cache/plancache.c                |  60 ++++++++-
 src/backend/utils/fmgr/funcapi.c                   |   6 +-
 src/backend/utils/init/usercontext.c               |   6 +
 src/bin/pg_dump/common.c                           | 142 +++++++++++++++++----
 src/bin/pg_dump/pg_dump.c                          |  30 ++---
 src/bin/pg_dump/pg_dump.h                          |   5 +-
 src/bin/psql/command.c                             |  35 +++--
 src/bin/psql/psqlscanslash.h                       |   5 +
 src/bin/psql/psqlscanslash.l                       |  38 ++++++
 src/bin/psql/t/001_basic.pl                        |   7 +
 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/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                             |  44 ++++---
 src/pl/plpgsql/src/pl_comp.c                       |  14 ++
 src/pl/plpgsql/src/pl_exec.c                       |  12 +-
 src/pl/tcl/pltcl.c                                 |  42 +++---
 src/test/regress/expected/object_address.out       |   4 +
 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/object_address.sql            |   4 +
 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 +
 85 files changed, 1300 insertions(+), 251 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]

Reply via email to