Replies: 1 comment 1 reply
-
Sadly you cannot read from local duckdb files with pg_duckdb currently. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to create a foreign duckdb server from Postgresql17 to a duckdb database I created on fs but I'm receiving these errors, can you give me suggestions how to do it?
CREATE SERVER nmv_duckdb_server
FOREIGN DATA WRAPPER duckdb
OPTIONS (type 'file', database_path '/var/lib/postgresql/duck/nmv.db');
ERROR: Missing required option: 'type'
CREATE SERVER nmv_duckdb_server TYPE 'ANY'
FOREIGN DATA WRAPPER duckdb
OPTIONS (database '/var/lib/postgresql/duck/nmv.db');
ERROR: syntax error at or near "ANY"
LINE 1: BEGIN; CREATE SECRET pgduckdb_secret_validation (TYPE ANY, database '/var/lib/postgresql/duck/nmv.db')
Beta Was this translation helpful? Give feedback.
All reactions