Skip to content

Conversation

@dddenis
Copy link

@dddenis dddenis commented Dec 12, 2025

This PR adds support for schema-qualified operator classes in PostgreSQL CREATE INDEX statements. Previously, the parser only accepted simple identifiers for operator classes (e.g., vector_cosine_ops). With this change, schema-qualified names are now supported (e.g., public.vector_cosine_ops).

The following SQL is now correctly parsed:

CREATE INDEX my_index ON my_table USING HNSW (embedding public.vector_cosine_ops);

@dddenis dddenis marked this pull request as ready for review December 12, 2025 03:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant