alitrack / duckdb_fdw

DuckDB Foreign Data Wrapper for PostgreSQL
MIT License
272 stars 18 forks source link

Add temp_directory option to connection settings #37

Closed ahuarte47 closed 4 months ago

ahuarte47 commented 4 months ago

This PR adds "temp_directory" option to the CREATE SERVER command. It configures the directory where DuckDB writes temp files.

Example:

CREATE SERVER 
    duckdb_svr 
FOREIGN DATA WRAPPER 
    duckdb_fdw 
OPTIONS (
    database ':memory:', 
    temp_directory '/temp-data'
);
ahuarte47 commented 4 months ago

Thanks @alitrack !!!!