Skip to content

Commit

Permalink
fix install duckdb extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
AstrakhantsevaAA committed Jun 3, 2024
1 parent df571f2 commit aaf34fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,8 @@ lint-and-test-examples:
poetry run flake8 --max-line-length=200 docs/examples
cd docs/tools && poetry run python prepare_examples_tests.py
# install duckdb extension for postgres_to_postgres example
wget http://extensions.duckdb.org/v0.9.2/linux_amd64_gcc4/postgres_scanner.duckdb_extension.gz
cp ./src/installables/postgres_scanner.duckdb_extension.gz /usr/src/app/duckdb/
gunzip /usr/src/app/duckdb/postgres_scanner.duckdb_extension.gz
cd docs/examples/postgres_to_postgres && wget http://extensions.duckdb.org/v0.9.2/linux_amd64_gcc4/postgres_scanner.duckdb_extension.gz -P docs/examples/postgres_to_postgres
gunzip docs/examples/postgres_to_postgres/postgres_scanner.duckdb_extension.gz
poetry run python docs/examples/postgres_to_postgres/install_duckdb_extensions.py
# run tests
cd docs/examples && poetry run pytest
Expand Down

0 comments on commit aaf34fc

Please sign in to comment.