Skip to content

Conversation

@dimitri
Copy link
Owner

@dimitri dimitri commented Jul 21, 2022

No description provided.

@dimitri dimitri merged commit 0235693 into main Jul 21, 2022
@dimitri dimitri deleted the feature/clone--follow-reset-sequences branch July 21, 2022 16:03
arajkumar added a commit to arajkumar/pgcopydb that referenced this pull request Apr 25, 2024
There are 2 problems here.

Extension configuration table dependency on user table schema breaks the current assumption
Using pgcopydb clone to fix the above issue causes failure when migrating extensions which is only available on source(e.g. aiven_extras)
The problem (2) has been solved by introducing an [exclude-extension] filter to pgcopydb.

live-migration introduces a new cli arg --skip-extensions which can be used to skip all the extensions or set of extensions.

--skip-extensions - skips all the extensions during the migration
--skip-extensions postgis unit - skips postgis, unit and aiven_extras

It also cherry-picks dimitri#636 to fix a crash while doing extension config table migration as part of pgcopydb clone

Other solution considered:

This would have been much simpler if aiven allowed us to drop the aiven_extras extension. Though we could drop the extension, it is recreated immediately by the aiven controller.

I think we can still drop the extension and immediately take snapshot, but not sure how reliable it would be.

Fixes timescale/team-data-onboarding#125
arajkumar added a commit to arajkumar/pgcopydb that referenced this pull request Apr 25, 2024
d329796 Problem: Unable to filter extensions from source (dimitri#76)
4595159 fix: filter all grants of 'pg_.*' roles
ec7302d Use PG16 client tools (dimitri#83)
cfe9493 Problem: Unable to use live-migration without docker (dimitri#80)

Signed-off-by: Arunprasad Rajkumar <ar.arunprasad@gmail.com>
hanefi added a commit to hanefi/pgcopydb that referenced this pull request Feb 21, 2025
)

* Update PostgreSQL version to 17 in workflows and Dockerfiles

* Update README.md

Co-authored-by: Hanefi Onaldi <Hanefi.Onaldi@microsoft.com>

---------

Co-authored-by: Hanefi Onaldi <Hanefi.Onaldi@microsoft.com>
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