Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pgvector in Bitnami Postgres #32677

Closed
nerdeveloper opened this issue May 5, 2023 · 5 comments
Closed

pgvector in Bitnami Postgres #32677

nerdeveloper opened this issue May 5, 2023 · 5 comments
Assignees
Labels
postgresql solved stale 15 days without activity tech-issues The user has a technical issue about an application

Comments

@nerdeveloper
Copy link

nerdeveloper commented May 5, 2023

Name and Version

bitnami/postgres:latest

What architecture are you using?

amd64

Additional information

Hello Team, I wanted to ask if pgvector is supported in bitnami Postgres https://github.com/pgvector/pgvector

if not, when will this be out, please?

@nerdeveloper nerdeveloper added the tech-issues The user has a technical issue about an application label May 5, 2023
@bitnami-bot bitnami-bot added this to Triage in Support May 5, 2023
@github-actions github-actions bot added the triage Triage is needed label May 5, 2023
@carrodher carrodher moved this from Triage to In progress in Support May 5, 2023
@github-actions github-actions bot added in-progress and removed triage Triage is needed labels May 5, 2023
@bitnami-bot bitnami-bot assigned jotamartos and unassigned carrodher May 5, 2023
@jotamartos
Copy link
Contributor

That extension is not included by default, but you can easily install it in the container (using the root user )

install_packages git build-essential
cd /tmp
git clone --branch v0.4.1 https://github.com/pgvector/pgvector.git
cd pgvector
export PG_CONFIG=/opt/bitnami/postgresql/bin/pg_config
make
make install

and then connect to the database and load it

postgres=# CREATE EXTENSION vector;
CREATE EXTENSION
postgres=# \dx
                        List of installed extensions
  Name   | Version |   Schema   |                Description
---------+---------+------------+--------------------------------------------
 plpgsql | 1.0     | pg_catalog | PL/pgSQL procedural language
 vector  | 0.4.1   | public     | vector data type and ivfflat access method
(2 rows)

postgres=#

@github-actions
Copy link

This Issue has been automatically marked as "stale" because it has not had recent activity (for 15 days). It will be closed if no further activity occurs. Thanks for the feedback.

@github-actions github-actions bot added the stale 15 days without activity label May 24, 2023
@github-actions
Copy link

Due to the lack of activity in the last 5 days since it was marked as "stale", we proceed to close this Issue. Do not hesitate to reopen it later if necessary.

@bitnami-bot bitnami-bot closed this as not planned Won't fix, can't repro, duplicate, stale May 29, 2023
@bitnami-bot bitnami-bot moved this from Pending to Solved in Support May 29, 2023
@github-actions github-actions bot removed this from Solved in Support Jun 2, 2023
@philippemnoel
Copy link

Any suggestions on how to install extensions which aren't TLEs? Specifically that would get the error "ERROR: permission denied for language c"

@coronabytes
Copy link

coronabytes commented May 2, 2024

For anyone finding this thread and wants the easy solution...

FROM pgvector/pgvector:pg16 AS builder

FROM bitnami/postgresql-repmgr:16

COPY --from=builder /usr/lib/postgresql/16/lib/vector.so /opt/bitnami/postgresql/lib/
COPY --from=builder /usr/share/postgresql/16/extension/vector* /opt/bitnami/postgresql/share/extension/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
postgresql solved stale 15 days without activity tech-issues The user has a technical issue about an application
Projects
None yet
Development

No branches or pull requests

6 participants