Skip to content

[upgrade 16.9] Fix contrib #1601

Open
lss602726449 wants to merge 2 commits intoapache:cbdb-postgres-mergefrom
lss602726449:fix_contrb1
Open

[upgrade 16.9] Fix contrib #1601
lss602726449 wants to merge 2 commits intoapache:cbdb-postgres-mergefrom
lss602726449:fix_contrb1

Conversation

@lss602726449
Copy link
Contributor

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


bmdoil and others added 2 commits March 3, 2026 09:44
This reverts commit a863997e6459e907979478f013b588447385ca07.

The issues with restoring enums in distribution and partition
keys has been resolved in pg_dump by the cherry-pick of
7e7c5b683985c85fb990c4d49ab960cbc83434b4.

A gpbackup fix disables gp_enable_segment_copy_checking before
loading a table/matview with an enum hash distribution/partition,
then reorganizing the table after it's loaded and resetting
the GUC.

With these two changes it's safe to unban enums as distribution
and hash keys.
@my-ship-it my-ship-it requested a review from oppenheimer01 March 3, 2026 07:54
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