diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6c8fc1af3..ac52aedde 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -77,7 +77,7 @@ jobs: GH_TOKEN: ${{ github.token }} run: | gh release upload --clobber ${{ github.event.inputs.tag }} ./build/vectors-pg${{ matrix.version }}_${{ matrix.arch }}-unknown-linux-gnu_${{ github.event.inputs.version }}.zip - gh release upload --clobber ${{ github.event.inputs.tag }} ./build/vectors-pg${{ matrix.version }}_${{ github.event.inputs.version }}-1_${{ matrix.platform }}.deb + gh release upload --clobber ${{ github.event.inputs.tag }} ./build/vectors-pg${{ matrix.version }}_${{ github.event.inputs.version }}_${{ matrix.platform }}.deb docker_binary_release: needs: ["binary", "semver"] strategy: @@ -97,7 +97,7 @@ jobs: env: GH_TOKEN: ${{ github.token }} run: | - gh release download ${{ github.event.inputs.tag }} --pattern "vectors-pg${{ matrix.version }}_${{ github.event.inputs.version }}-1_${{ matrix.platform }}.deb" --output pgvecto-rs-binary-release.deb + gh release download ${{ github.event.inputs.tag }} --pattern "vectors-pg${{ matrix.version }}_${{ github.event.inputs.version }}_${{ matrix.platform }}.deb" --output pgvecto-rs-binary-release.deb - name: Set up QEMU uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx diff --git a/scripts/build_2.sh b/scripts/build_2.sh index 92c78ba29..5c9f72d2c 100755 --- a/scripts/build_2.sh +++ b/scripts/build_2.sh @@ -13,7 +13,7 @@ cargo build --no-default-features --features pg$VERSION --release --target ${ARC rm -rf ./build/dir_zip rm -rf ./build/vectors-pg${VERSION}_${ARCH}-unknown-linux-gnu_${SEMVER}.zip rm -rf ./build/dir_deb -rm -rf ./build/vectors-pg${VERSION}_${SEMVER}-1_${PLATFORM}.deb +rm -rf ./build/vectors-pg${VERSION}_${SEMVER}_${PLATFORM}.deb mkdir -p ./build/dir_zip cp -a ./sql/upgrade/. ./build/dir_zip/ @@ -46,4 +46,4 @@ Homepage: https://pgvecto.rs/ License: apache2" \ > ./build/dir_deb/DEBIAN/control (cd ./build/dir_deb && md5sum usr/share/postgresql/$VERSION/extension/* usr/lib/postgresql/$VERSION/lib/*) > ./build/dir_deb/DEBIAN/md5sums -dpkg --build ./build/dir_deb/ ./build/vectors-pg${VERSION}_${SEMVER}-1_${PLATFORM}.deb +dpkg --build ./build/dir_deb/ ./build/vectors-pg${VERSION}_${SEMVER}_${PLATFORM}.deb diff --git a/sql/upgrade/vectors--0.1.10--0.2.0.sql b/sql/upgrade/vectors--0.1.10--0.2.0.sql index 3d62db3ae..a4f8e4b32 100644 --- a/sql/upgrade/vectors--0.1.10--0.2.0.sql +++ b/sql/upgrade/vectors--0.1.10--0.2.0.sql @@ -20,19 +20,6 @@ CREATE TYPE vector_index_stat AS ( idx_options TEXT ); -CREATE VIEW pg_vector_index_info AS - SELECT - C.oid AS tablerelid, - I.oid AS indexrelid, - C.relname AS tablename, - I.relname AS indexname, - (vector_stat(I.oid)).* - FROM pg_class C JOIN - pg_index X ON C.oid = X.indrelid JOIN - pg_class I ON I.oid = X.indexrelid JOIN - pg_am A ON A.oid = I.relam - WHERE A.amname = 'vectors'; - -- List of shell types CREATE TYPE vecf16;