Skip to content

Postgres PGVector Store #15739

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

Open
JBomNotilyze opened this issue May 27, 2025 · 1 comment
Open

Postgres PGVector Store #15739

JBomNotilyze opened this issue May 27, 2025 · 1 comment
Labels
in linear Issue or PR has been created in Linear for internal review

Comments

@JBomNotilyze
Copy link

Bug Description

The Postgres PGVector Store imports the langchain_community.vectorstores.pgvector.PGVector object, with the default parameter create_extension=True. This requires admin privilages, which not all users should have, resulting in the error (even if the extension is already installed):

"""Because vector isn't a trusted extension, only members of "azure_pg_admin" are allowed to use CREATE EXTENSION vector"""

Please add an option to disable the automatic creation of the extension in the n8n node.

To Reproduce

Add a non-admin user to your postgres database, and try to use any of the Postgres PGVector Store functionalities as this user.

Expected behavior

To be able to use a Postgres database as a Vector Store within n8n.

Operating System

n8n cloud

n8n Version

1.89.2

Node.js Version

?

Database

PostgreSQL

Execution mode

main (default)

@Joffcom
Copy link
Member

Joffcom commented May 27, 2025

Hey @JBomNotilyze,

We have created an internal ticket to look into this which we will be tracking as "GHC-2189"

@Joffcom Joffcom added the in linear Issue or PR has been created in Linear for internal review label May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

No branches or pull requests

2 participants