PG-pg数据库安装vector

一、下载pg-vector安装包 (按需安装所欲要的版本)

安装地址:

https://pgxn.org/dist/vector/0.7.3/

我安装的是0.7.3版本

通过百度网盘分享的文件:PgVector
链接:https://pan.baidu.com/s/1XKI6MSqOtVUW2VX_fzsERg
提取码:sky1

image

二、管理员执行cmd执行以下语句

其中call后面的地址为vector解压地址; set后面的16为安装PostgreSQL的版本号 (请按实际场景替换)

点击查看代码
call "C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat"
cd C:\Users\xxx\Downloads\vector-0.7.3
set "PGROOT=C:\Program Files\PostgreSQL\16"
nmake /F Makefile.win
nmake /F Makefile.win install
posted @ 2024-12-03 08:10  skystrivegao  阅读(1648)  评论(0)    收藏  举报