In duckdb 1.3.1 creating PostgreSQL temporary table and then accessing it works with
In [5]: cn.execute("call postgres_execute('db', 'create temporary table t1 (a integer)')")
Out[5]: <duckdb.duckdb.DuckDBPyConnection at 0x7f970a88f9b0>
In [6]: cn.execute("select * from db.pg_temp.t1").fetchall()
Out[6]: []
In duckdb 1.5.2, we get error
In [7]: cn.execute("select * from db.pg_temp.t1").fetchall()
---------------------------------------------------------------------------
CatalogException Traceback (most recent call last)
Cell In[7], line 1
----> 1 cn.execute("select * from db.pg_temp.t1").fetchall()
CatalogException: Catalog Error: Table with name t1 does not exist!
Did you mean "db.information_schema.tables or information_schema.tables"?
LINE 1: select * from db.pg_temp.t1 ^
In duckdb 1.3.1 creating PostgreSQL temporary table and then accessing it works with
In duckdb 1.5.2, we get error