pgvector扩展在Google Cloud SQL Postgres上

huangapple go评论50阅读模式
英文:

pgvector extension on Google Cloud SQL Postgres

问题

Google Cloud SQL最近宣布支持Postgres扩展pgvector。但它不在支持的扩展列表中 SELECT * FROM pg_available_extensions; 中可用。我使用的是版本9.6。我需要做什么来查看这个扩展?

英文:

Google Cloud SQL recently announced support for Postgres extension pgvector. But it's not available in the list of extensions supported SELECT * FROM pg_available_extensions;. I'm on version 9.6. What do I need to do to see the extension?

答案1

得分: 1

你必须升级到最新的云SQL PostgreSQL维护版本。

如果选择您的实例,您可以在维护面板中手动进行更新。

英文:

You have to get to the latest cloud sql pg maintenance version.

If you select your instance you can manually update in the maintenance panel.

pgvector扩展在Google Cloud SQL Postgres上

答案2

得分: 1

根据这份关于pgvector安装的文档:

> 编译并安装这个扩展(支持Postgres 11+)

还可以通过这份变更记录找到相关信息:

> 0.3.0(2022-10-15)
> - 增加了对Postgres 15的支持
> - 放弃了对Postgres 9.6的支持

这意味着最低的Postgres版本应该至少是 11 或更高。我尝试安装了版本 9.610,但都没有成功。

如果你真的想要使用这个版本,你可以使用Postgres版本 11 或更高版本,或者通过这个链接提出此功能请求。

希望对你有帮助。

英文:

Based on this documentation on pgvector installation:

> Compile and install the extension (supports Postgres 11+)

It is also mentioned through this changelog:

> 0.3.0 (2022-10-15)
> - Added support for Postgres 15
> - Dropped support for Postgres 9.6

Meaning that the minimun Postgres version should be at least 11 or higher. I've tried installing the extension using version 9.6 and 10, both unsuccessful.

If you really want this version to be available, you may either use Postgres version 11 or higher or file this as a feature request through this link.

Hope this helps.

huangapple
  • 本文由 发表于 2023年6月29日 06:04:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/76576966.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定