Comments (2)
After make install, the extension files are not placed into the right directory, nothing seems to happen in fact, I need to manually copy them, but still where is the duckdb_fdw I need to copy to $libdir ?
from duckdb_fdw.
Made it work by only copying the required files:
FROM postgres
RUN apt-get update && apt-get install -y \
git \
build-essential \
cmake
RUN git clone https://github.com/cwida/duckdb.git \
&& cd duckdb \
&& make
RUN apt-get install -y postgresql-server-dev-13 postgresql-client-13
RUN git clone https://github.com/alitrack/duckdb_fdw.git \
&& cd duckdb_fdw \
&& cp /duckdb/build/release/tools/sqlite3_api_wrapper/libsqlite3_api_wrapper.so $(pg_config --libdir) \
&& cp /duckdb/tools/sqlite3_api_wrapper/include/sqlite3.h . \
&& make USE_PGXS=1 \
&& make install USE_PGXS=1 \
&& cd .. && rm -rf duckdb_fdw duckdb
ENV POSTGRES_HOST_AUTH_METHOD='trust'
from duckdb_fdw.
Related Issues (20)
- Read only foreign server support HOT 3
- duckdb_fdw.so: undefined symbol: sqlite3_limit HOT 3
- Error when loading extension with duckdb 0.6.x: undefined symbol: sqlite3_bind_int64 HOT 5
- 在duckdb_fdw中调用'postgres_scan'时遇到一个libpq报错, 但是在duckdb cli中调用正常. HOT 10
- Fail to build with new version of duckdb 0.8.0 HOT 8
- 服务器异常中止,连接不上服务 HOT 2
- Compatibility with MotherDuck connection string HOT 4
- array_agg is performed by PostgreSQL not by duckdb HOT 5
- Support postgresql 16 HOT 2
- Undefined symbol linking DuckDB 0.9.2 HOT 4
- compile error for PostgreSQL 14 HOT 1
- IMPORT FOREIGN SCHEMA fails with "Ambiguous reference to catalog or schema"
- Failing to open DuckDB database HOT 12
- Create Github release for latest version or git tag versions HOT 1
- Enable concurrent connection HOT 2
- Add license HOT 4
- support postgres 14 HOT 1
- Not able to get more than 19 rows with duckdb_fdw? HOT 3
- Error for new connections HOT 4
- Dose duckdb_fdw install on windows? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duckdb_fdw.