Skip to content

Error when connecting to Aurora #129

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

Closed
2 tasks done
pquadri opened this issue Nov 15, 2023 · 4 comments
Closed
2 tasks done

Error when connecting to Aurora #129

pquadri opened this issue Nov 15, 2023 · 4 comments

Comments

@pquadri
Copy link

pquadri commented Nov 15, 2023

What happens?

After Mytherin@c37606d connecting to an Aurora results in
ERROR: Function pg_stat_get_wal_receiver() is currently not supported in Aurora

Can we make that bit optional?

To Reproduce

try to run a postgres_scan from aurora, i have issues with postgres_attach as well but that might be on my connection.
does not happen with the same query on duckdb 0.9.0 (which i assume is old enough to not have that line)

OS:

mac os x

PostgreSQL Version:

14

DuckDB Version:

9.2.0

DuckDB Client:

Python

Full Name:

Paolo Quadri

Affiliation:

Remote.com

Have you tried this on the latest main branch?

  • I agree

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

  • I agree
@Mytherin
Copy link
Contributor

Mytherin commented Nov 17, 2023

Thanks for the report! Should be fixed in #131

@faridgt
Copy link

faridgt commented Dec 6, 2023

I built duckdb 0.9.2 and with postgres extension but still get this error

ERROR: Function pg_stat_get_wal_receiver() is currently not supported in Aurora

I double checked the changed mention in the fix and they are found on build code

any idea?

@Mytherin
Copy link
Contributor

Mytherin commented Dec 7, 2023

You are most likely still using the old version of the extension, try installing the nightly:

force install postgres_scanner from 'http://nightly-extensions.duckdb.org';

@faridgt
Copy link

faridgt commented Dec 7, 2023

You are most likely still using the old version of the extension, try installing the nightly:

force install postgres_scanner from 'http://nightly-extensions.duckdb.org';

thanks @Mytherin , it worked by calling:
force install postgres;

in dbt by using
{{ config(materialized='table', pre_hook="force install postgres;" ) }}

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

No branches or pull requests

3 participants