-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Duplicate key value violates unique constraint "pg_extension_name_index" #1561
Comments
Hello @digvjs! Welcome to the ai16z community. Thank you for opening your first issue; we appreciate your contribution. You are now a ai16z contributor! |
Investigation Summary:
Recommended Steps:
|
Can you update me on this ? |
Modified the schema.sql and added below code -
There is no other place I am creating the extension again. Still getting below errors -
|
Deffo need to look in the PG |
- Add proper checks for vector extension existence - Create extensions schema if not exists - Add extensions schema to search path - Ensure idempotent schema creation
…sion fix(postgres): Handle vector extension creation properly (#1561)
…ector-extension Revert "fix(postgres): Handle vector extension creation properly (#1561)"
Hi All,
I cloned the repository
https://github.com/elizaos/eliza.git
and checked out thev0.1.7-alpha.1
tag. The database adapter I am using is the PostgreSQL vector DB, specifically the Docker imagepgvector/pgvector:pg16
from Docker Hub.Upon running
pnpm start
, the PostgreSQL database is populated with all the required tables, but I encounter the following error (see the attached image):This issue occurs even when I do a fresh clone of the eliza project.
Environment Details:
Node version:
23.3.0
pnpm version:
9.15.2
PostgreSQL Docker Image:
pgvector/pgvector:pg16
Thanks in Advance!
The text was updated successfully, but these errors were encountered: