Skip to content
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

Package pg_duckdb for review #1106

Open
olirice opened this issue Aug 9, 2024 · 2 comments
Open

Package pg_duckdb for review #1106

olirice opened this issue Aug 9, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@olirice
Copy link
Contributor

olirice commented Aug 9, 2024

This task is to package (but not ship) pg_duckdb to evaluate it locally and check interop with Supabase S3 compatible Storage

@olirice olirice added the bug Something isn't working label Aug 9, 2024
@olirice olirice added enhancement New feature or request and removed bug Something isn't working labels Aug 9, 2024
@samrose
Copy link
Contributor

samrose commented Aug 15, 2024

This is in process about 70%

Ran into some issues with the Makefile assumptions about deps and installation, and so will need to patch that on build

@docteurklein
Copy link

Hi! Are you writing a nix derivation for pg_duckdb? Because I tried here without success.

The compilation works fine, but the installPhase seems to fail with:

pg_duckdb> /nix/store/ifzwv2xqwdnv1gz87rxkizi67py5p3vj-coreutils-9.4/bin/mkdir -p '/nix/store/wwp41hdca4bwpsczq47a7bzj19pr63fz-postgresql-16.2/share/postgresql/extension'
pg_duckdb> /nix/store/ifzwv2xqwdnv1gz87rxkizi67py5p3vj-coreutils-9.4/bin/mkdir -p '/nix/store/wwp41hdca4bwpsczq47a7bzj19pr63fz-postgresql-16.2/share/postgresql/extension'
pg_duckdb> /nix/store/ifzwv2xqwdnv1gz87rxkizi67py5p3vj-coreutils-9.4/bin/install -c -m 755  pg_duckdb.so '/nix/store/r0kvgrg6j84jwva3vcisvc6ggwbvwmi4-postgresql-16.2-lib/lib/pg_duckdb.so'
pg_duckdb> /nix/store/ifzwv2xqwdnv1gz87rxkizi67py5p3vj-coreutils-9.4/bin/install: cannot create regular file '/nix/store/r0kvgrg6j84jwva3vcisvc6ggwbvwmi4-postgresql-16.2-lib/lib/pg_duckdb.so': Permission denied
pg_duckdb> make: *** [/nix/store/wwp41hdca4bwpsczq47a7bzj19pr63fz-postgresql-16.2/lib/pgxs/src/makefiles/../../src/Makefile.shlib:422: install-lib-shared] Error 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants