-
Notifications
You must be signed in to change notification settings - Fork 53
postgres_attach() error when connecting to read-only replica #90
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
Comments
Seeing the exact same issue with a postgres read replica, I don't have much to add except that the same error occurs with a |
Fix #90 - disable parallel scans for read-only replicas
Thanks for the report! This should be addressed in #112. I've tested this with a read-replica through AWS RDS but it would be great if you could verify that it resolves the issue. |
Amazing, thank you @Mytherin. How does this get deployed so to speak? I see that DuckDB bundles this extension and presumably this commit hash needs to be bumped: https://github.com/duckdb/duckdb/blob/5ec85a719940a9fade15c38e7601712e9cef58d8/.github/config/extensions.csv#L12 Is there a way to test this version of |
You can compile the postgres_scanner by cloning the repo and running FORCE INSTALL 'build/release/extension/postgres_scanner/postgres_scanner.duckdb_extension'; |
I'm trying to connect to a postgres read-only replica and getting the following error. The replica is using log shipping to prevent replication delays from cascading up to the master DB in production.
Is this something that can be supported with the pg library being used? Connecting to the same DB from the same machine with psql works fine.
The text was updated successfully, but these errors were encountered: