1
0
mirror of https://github.com/tensorchord/pgvecto.rs.git synced 2025-04-18 21:44:00 +03:00
pgvecto.rs/scripts/ci_install.sh
Usamoi f0a0d4d7bc
ci: increase concurrency (#362)
Signed-off-by: usamoi <usamoi@outlook.com>
2024-02-19 10:12:55 +00:00

13 lines
384 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cargo pgrx install --no-default-features --features "pg$VERSION" --release
psql -c 'ALTER SYSTEM SET shared_preload_libraries = "vectors.so"'
psql -c 'ALTER SYSTEM SET search_path = "$user", public, vectors'
psql -c 'ALTER SYSTEM SET logging_collector = on'
if [ "$OS" == "ubuntu-latest" ]; then
sudo systemctl restart postgresql
pg_lsclusters
fi