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:
Gabriele Bartolini
2023-09-13 18:51:00 +02:00
committed by GitHub
parent 52434544ae
commit 8e669ab320
3 changed files with 6 additions and 0 deletions

View File

@@ -33,6 +33,7 @@ RUN set -xe; \
apt-get update; \
apt-get install -y --no-install-recommends \
"postgresql-${PG_MAJOR}-pgaudit" \
"postgresql-${PG_MAJOR}-pgvector" \
"postgresql-${PG_MAJOR}-pg-failover-slots" \
; \
rm -fr /tmp/* ; \