Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jan 11, 2023

Conversation

MarinaPolyakova
Copy link
Contributor

@MarinaPolyakova MarinaPolyakova commented Jan 10, 2023

  • Convert the reg* input functions to report (most) errors softly.

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)..

  • Add grantable MAINTAIN privilege and pg_maintain role.

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 47806e7 [PGPRO-7585] Fixes for v16 due to vanilla changes), do not create pathman_permissions_2.out.

kovdb75 and others added 3 commits December 22, 2022 19:12
Tags: pg_pathman

Caused by:
- ad86d159b6: Add 'missing_ok' argument to build_attrmap_by_name
- a61b1f7482: Rework query relation permission checking
- b5d6382496: Provide per-table permissions for vacuum and analyze
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 47806e7 [PGPRO-7585] Fixes for v16 due
to vanilla changes), do not create pathman_permissions_2.out.
@codecov
Copy link

codecov bot commented Jan 10, 2023

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%) ⬆️
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.

@kovdb75 kovdb75 merged commit 403bbcb into master Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants