forked from repo-mirrors/cnpg-postgres-containers
feat: add pgvector
extension (#71)
AI is a hot topic in Cloud Native environments (not only there). Providing a way to easily add `pgvector` to CloudNativePG deployments can potentially increase the adoption of Postgres in these contexts. It is an extension that can be fully controlled by a standard Postgres user, like the application user in CloudNativePG, without requiring any settings in shared_preload_libraries. License-wise that extension creates no problems. Closes #70 Signed-off-by: Gabriele Bartolini <gabriele.bartolini@enterprisedb.com>
This commit is contained in:
committed by
GitHub
parent
52434544ae
commit
8e669ab320
@@ -30,6 +30,7 @@ COPY requirements.txt /
|
|||||||
RUN set -xe; \
|
RUN set -xe; \
|
||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
|
"postgresql-${PG_MAJOR}-pgvector" \
|
||||||
"postgresql-${PG_MAJOR}-pgaudit" \
|
"postgresql-${PG_MAJOR}-pgaudit" \
|
||||||
; \
|
; \
|
||||||
rm -fr /tmp/* ; \
|
rm -fr /tmp/* ; \
|
||||||
|
@@ -33,6 +33,7 @@ RUN set -xe; \
|
|||||||
apt-get update; \
|
apt-get update; \
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
"postgresql-${PG_MAJOR}-pgaudit" \
|
"postgresql-${PG_MAJOR}-pgaudit" \
|
||||||
|
"postgresql-${PG_MAJOR}-pgvector" \
|
||||||
"postgresql-${PG_MAJOR}-pg-failover-slots" \
|
"postgresql-${PG_MAJOR}-pg-failover-slots" \
|
||||||
; \
|
; \
|
||||||
rm -fr /tmp/* ; \
|
rm -fr /tmp/* ; \
|
||||||
|
@@ -12,6 +12,7 @@ by adding the following software:
|
|||||||
- Barman Cloud
|
- Barman Cloud
|
||||||
- PGAudit
|
- PGAudit
|
||||||
- Postgres Failover Slots
|
- Postgres Failover Slots
|
||||||
|
- pgvector
|
||||||
|
|
||||||
Barman Cloud is distributed by EnterpriseDB under the
|
Barman Cloud is distributed by EnterpriseDB under the
|
||||||
[GNU GPL 3 License](https://github.com/EnterpriseDB/barman/blob/master/LICENSE).
|
[GNU GPL 3 License](https://github.com/EnterpriseDB/barman/blob/master/LICENSE).
|
||||||
@@ -22,6 +23,9 @@ PGAudit is distributed under the
|
|||||||
Postgres Failover Slots is distributed by EnterpriseDB under the
|
Postgres Failover Slots is distributed by EnterpriseDB under the
|
||||||
[PostgreSQL License](https://github.com/EnterpriseDB/pg_failover_slots/blob/master/LICENSE).
|
[PostgreSQL License](https://github.com/EnterpriseDB/pg_failover_slots/blob/master/LICENSE).
|
||||||
|
|
||||||
|
pgvector is distributed under the
|
||||||
|
[PostgreSQL License](https://github.com/pgvector/pgvector/blob/master/LICENSE).
|
||||||
|
|
||||||
Images are available via
|
Images are available via
|
||||||
[GitHub Container Registry](https://github.com/cloudnative-pg/postgres-containers/pkgs/container/postgresql).
|
[GitHub Container Registry](https://github.com/cloudnative-pg/postgres-containers/pkgs/container/postgresql).
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user