一、全局配置

二、命令执行:流程都正常
根据文档执行,中间没有出现报错问题
#ls -l /usr/share/postgresql/15/extension/vector*
运行:
-rw-r--r-- 1 root root 2047 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.1.0--0.1.1.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.1.1--0.1.3.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.1.3--0.1.4.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.1.4--0.1.5.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.1.5--0.1.6.sql
-rw-r--r-- 1 root root 403 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.1.6--0.1.7.sql
-rw-r--r-- 1 root root 396 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.1.7--0.1.8.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.1.8--0.2.0.sql
-rw-r--r-- 1 root root 744 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.2.0--0.2.1.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.2.1--0.2.2.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.2.2--0.2.3.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.2.3--0.2.4.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.2.4--0.2.5.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.2.5--0.2.6.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.2.6--0.2.7.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.2.7--0.3.0.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.3.0--0.3.1.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.3.1--0.3.2.sql
-rw-r--r-- 1 root root 864 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.3.2--0.4.0.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.4.0--0.4.1.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.4.1--0.4.2.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.4.2--0.4.3.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.4.3--0.4.4.sql
-rw-r--r-- 1 root root 1426 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.4.4--0.5.0.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.5.0--0.5.1.sql
-rw-r--r-- 1 root root 243 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.5.1--0.6.0.sql
-rw-r--r-- 1 root root 459 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.6.0--0.6.1.sql
-rw-r--r-- 1 root root 153 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.6.1--0.6.2.sql
-rw-r--r-- 1 root root 20375 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.6.2--0.7.0.sql
-rw-r--r-- 1 root root 30097 Jun 11 13:29 /usr/share/postgresql/15/extension/vector--0.7.0.sql
-rw-r--r-- 1 root root 145 Jun 11 13:29 /usr/share/postgresql/15/extension/vector.control
# psql -U ship -d shipdb
psql (15.13 (Debian 15.13-1.pgdg120+1))
Type "help" for help.
shipdb=# CREATE EXTENSION vector;
CREATE EXTENSION
shipdb=# \dx

三、测试连接:失败连不上


这个却能连上

这个问题要怎么解决