1
0
mirror of https://github.com/tensorchord/pgvecto.rs.git synced 2025-07-29 08:21:12 +03:00

chore: set schema and search_path (#273)

* chore: set schema and search_path

Signed-off-by: usamoi <usamoi@outlook.com>

* fix: remove unnecessary changes

Signed-off-by: usamoi <usamoi@outlook.com>

* fix: set search_path for docker

Signed-off-by: usamoi <usamoi@outlook.com>

* fix: ci

Signed-off-by: usamoi <usamoi@outlook.com>

* fix: docker

Signed-off-by: usamoi <usamoi@outlook.com>

* fix: search_path search order

Signed-off-by: usamoi <usamoi@outlook.com>

---------

Signed-off-by: usamoi <usamoi@outlook.com>
This commit is contained in:
Usamoi
2024-01-16 15:34:10 +08:00
committed by GitHub
parent 0e5fb8b029
commit da6686e823
9 changed files with 29 additions and 13 deletions

View File

@ -3,6 +3,7 @@ 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 TO "$user", public, vectors'
if [ "$OS" == "ubuntu-latest" ]; then
sudo systemctl restart postgresql