Skip to content

Conversation

@HasithDeAlwis
Copy link

Closes #152101
Introduce vector index support into SQL metadata by extending catalog tables, internal metadata views, and adding validation tests.

Implementation:

  • Added is_vector boolean column to crdb_internal.table_indexes to identify vector indexes alongside existing index type flags
  • Added "vector" access method entry to pg_catalog.pg_am with appropriate PostgreSQL-compatible metadata for vector indexes

Release notes(sql): Add an `is_vector` column to `crdb_internal.index_columns`. This makes vector indexes identifiable during introspection, improving schema visibility and tooling support.
Release notes (sql): Add a `vector` access method to `pg_am`, enabling
clients to recognize vector indexes during introspection.
@HasithDeAlwis HasithDeAlwis requested review from a team as code owners November 18, 2025 05:09
@HasithDeAlwis HasithDeAlwis requested review from mgartner and removed request for a team November 18, 2025 05:09
@blathers-crl
Copy link

blathers-crl bot commented Nov 18, 2025

Thank you for contributing to CockroachDB. Please ensure you have followed the guidelines for creating a PR.

Before a member of our team reviews your PR, I have some potential action items for you:

  • We notice you have more than one commit in your PR. We try break logical changes into separate commits, but commits such as "fix typo" or "address review commits" should be squashed into one commit and pushed with --force
  • When CI has completed, please ensure no errors have appeared.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@blathers-crl blathers-crl bot added the O-community Originated from the community label Nov 18, 2025
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-community Originated from the community

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sql/vecindex: support vector indexes in metadata tables

2 participants