How to make duckpgq work on musl/Alpine compiled pg_postgres image #213
Replies: 2 comments 2 replies
-
Hi there! Could you tell me what error you are getting when you are loading duckpgq? It could very well be related to #170, I am not familiar enough with Alpine but happy to look into it. Currently, DuckPGQ won't work with
If I understand correctly, using the |
Beta Was this translation helpful? Give feedback.
-
Sure!
I note that I actually had to rebuild the image with With
(I don't remember if there was a change in this installation query, but I also assume the error would state it explicitly.) |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I would like to use this extension in pg_duckdb that is compiled with musl in Alpine instead of the usual
glibc
.The case I have is that I used
pg_duckdb
to work on Alpine Linux Postgresql with the goal to enableSQL/PGQ
and other DuckDb amenities in PostgreSQL.The concrete instructions are (currently) at Alpine Linux ([here])(https://github.com/veikkoeeva/AITest/blob/main/src/AITest.Postgresql/Postgresql.Dockerfile#L45)). I can indeed run this Docker image and with a quick check
pgduckdb
works. So far so good, things seem to work! However, then I triedand received an error.
Question:
If one wanted to enable a support for
duckpgq
to support mus, how would this support be concretely implemented so that for instance the given piece ofsql
would work also in musl based images?Maybe also, are there are instructions on how to add
duckpgq
to DuckDb as precompiled binary?I am thinking this is similar in nature to #170. Also maybe I should open a similar question or discussion in pg_duckdb and use this as a concrete driver if there needs to be some things to happen also there.
Beta Was this translation helpful? Give feedback.
All reactions