1
0
mirror of https://github.com/tensorchord/pgvecto.rs.git synced 2025-07-02 17:22:24 +03:00
Files
pgvecto.rs/scripts/ci_install.sh
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