← 返回首页
PostgreSQL online store ignores database search_path, breaking extensions like pgvector · Issue #5814 · feast-dev/feast · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

PostgreSQL online store ignores database search_path, breaking extensions like pgvector #5814

New issue
New issue

Description

Expected Behavior

When vector_enabled: true is configured and the pgvector extension is installed in the database (in public schema), Feast should be able to create tables with vector columns. The database's configured search_path should be respected.

Current Behavior

Feast fails with psycopg.errors.UndefinedObject: type "vector" does not exist because it hardcodes the connection search_path to only the db_schema value, excluding public where extensions are typically installed:

# feast/infra/utils/postgres/connection_utils.py#L76 "options": "-c search_path={}".format(config.db_schema or config.user),

This overrides any database or user-level search_path settings.

Steps to Reproduce

  1. Install pgvector extension in PostgreSQL:
    CREATE EXTENSION vector; -- installs to public by default
  2. Configure feature_store.yaml with a custom schema:
    online_store:
    type: postgres
    db_schema: feast_online
    vector_enabled: true
  3. Run feast apply
  4. Error occurs:
    psycopg.errors.UndefinedObject: type "vector" does not exist
    LINE 8: vector_value vector NULL,

Specifications

  • Version: 0.58.0
  • Platform: macOS / Linux
  • Subsystem: PostgreSQL

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Footer

    © 2026 GitHub, Inc.