-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在duckdb_fdw中调用'postgres_scan'时遇到一个libpq报错, 但是在duckdb cli中调用正常. #15
Comments
|
可能和这个issue类似: https://github.com/greenplum-db/gpdb/commit/667f0c37bc6d7bce7be8b758652ef95ddb823e19
|
请分别告知DuckDB、PostgreSQL和postgres_scan的版本 |
DuckDB: v0.7.1 |
不需要依赖oss环境, 也能复现这个问题:
|
宏不会执行里面的代码,所以不会报错 |
是因为duckdb_fdw向duckdb请求调用postgres_scanner是 postgres server(使用backend protocol) 发起, 但是postgres_scanner是client使用frontend protocol? |
这点有点像 postgres_fdw 即是 client又是server |
暂时没有解决办法,不过建议查询和archive分开(独立的进程或者程序来做数据库的归档) |
@digoal |
在duckdb_fdw中调用'postgres_scan'时遇到一个错误:
这条调用在duckdb cli中直接调用是正常的.
The text was updated successfully, but these errors were encountered: