duckdb / postgres_scanner

https://duckdb.org/docs/extensions/postgres
MIT License
227 stars 36 forks source link

Add support for a new postgres_execute function that can be used to execute arbitrary queries within Postgres #193

Closed Mytherin closed 6 months ago

Mytherin commented 6 months ago

Usage:

ATTACH 'dbname=postgresscanner' AS s (TYPE POSTGRES);
CALL postgres_execute('s', 'CREATE TABLE my_table(i INTEGER)');