-
Notifications
You must be signed in to change notification settings - Fork 8
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
Tool attempts to logically replicate system tables provided by extensions #10
Comments
Unfortunately, it's not possible to manually fix this after the fact, as the tool makes use of
|
@nickgsc Support has been added for skipping or specifying a subset of tables and for skipping extension tables. Please let us know if this fixes your issue, and also be aware that the new features require the latest version of https://github.com/aiven/aiven-extras running on the source cluster |
Thanks @gabriel-tincu, we appreciate you putting in the work to add this capability to the tool. We hope to test it in the coming days. Cheers |
After successfully setting up logical replication, we are encountering the following error over and over again in our target database:
The table in question here,
spatial_ref_sys
, is one of the system tables from thepostgis
extension. The table is populated when the extension is created, so it makes sense that trying to logically replicate the contents of this table is failing because the data is already there.Since it is not currently possible to specify include/exclude lists of tables, there is no way to avoid this from happening when
postgis
is one of the extensions that is replicated. I imagine the same issue exists for other extensions that have their own built-in/system tables as well.The text was updated successfully, but these errors were encountered: