postgrespro / pg_pathman

Partitioning tool for PostgreSQL
Other
584 stars 69 forks source link

Fixes related to new changes in PostgreSQL 16: December 6, 2022 - December 27, 2022 #261

Closed MarinaPolyakova closed 1 year ago

MarinaPolyakova commented 1 year ago

See the commit 858e776c84f48841e7e16fba7b690b76e54f3675 (Convert the reg* input functions to report (most) errors softly.) in PostgreSQL 16.

The function qualified_relnames_to_rangevars is used in the functions create_hash_partitions_internal and create_range_partitions_internal. It looks like these functions should not skip partition names (e.g. in the functions create_hash_partitions and create_range_partitions respectively)..

See the commit 60684dd834a222fefedd49b19d1f0a6189c1632e (Add grantable MAINTAIN privilege and pg_maintain role.) in PostgreSQL 16.

Since pathman_permissions_1.out is already in use for PostgreSQL 16+ (see the commit https://github.com/postgrespro/pg_pathman/commit/47806e7f69935caaa86f40e87cf215cb90aaf9a3 [PGPRO-7585] Fixes for v16 due to vanilla changes), do not create pathman_permissions_2.out.

codecov[bot] commented 1 year ago

Codecov Report

Merging #261 (2d49e88) into master (15a3816) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #261   +/-   ##
=======================================
  Coverage   92.41%   92.41%           
=======================================
  Files          30       30           
  Lines        6735     6736    +1     
=======================================
+ Hits         6224     6225    +1     
  Misses        511      511           
Impacted Files Coverage Δ
src/include/compat/pg_compat.h 90.00% <ø> (ø)
src/pg_pathman.c 95.48% <ø> (ø)
src/pl_funcs.c 95.04% <ø> (+0.01%) :arrow_up:
src/planner_tree_modification.c 89.04% <ø> (ø)
src/partition_filter.c 96.43% <100.00%> (ø)
src/utility_stmt_hooking.c 92.72% <100.00%> (ø)
src/utils.c 92.10% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.