Closed imaurer closed 1 year ago
CREATE SERVER DuckDB_server
FOREIGN DATA WRAPPER duckdb_fdw;
means you create a duckdb in memory, so it will lost after disconnect.
Thanks for the insight. Going to switch to the parquet_fdw for my use case. I appreciate the response!
@imaurer but you can give a database name, for example,
CREATE SERVER DuckDB_server FOREIGN DATA WRAPPER duckdb_fdw OPTIONS (database '/tmp/test.db');
then when connect next time, it will keep
Thanks for the clarification!
Thanks for this project. I am running into an issue and I am unsure if it is my fault.
Trying to access parquet files via duckdb and for each new connection, I have to re-run duckdb_execute to get the query to work.
Here is my setup:
This last query works great. However, on creating a new connection, the final SELECT statement fails.
I notice the schema says main in the error message. If I run the following in a NEW connection, it works great:
Using Postgres 14 in an Alpine Docker instance. Let me know if there are any other details required.
Thanks in advance, Ian