Skip to content

Conversation

@hailangvn
Copy link
Contributor

This is to migrate field_vector module to 19.0.

@nilshamerlinck
Copy link
Contributor

fyi @lmignon

Copy link
Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the migration @hailangvn
Some comments about your changes...

@hailangvn hailangvn force-pushed the 19.0-mig-field_vector branch from a86f032 to d3fbba1 Compare October 28, 2025 03:21
@hailangvn hailangvn requested a review from lmignon October 28, 2025 03:27
Copy link
Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see my last comment

pg_typeof on a vector returns the vector’s base type, not its size; to know
length you must query array_length or cardinality for vectors using the pgvector
extension (e.g., select vector_dims(v)).
@hailangvn hailangvn force-pushed the 19.0-mig-field_vector branch from d3fbba1 to 2015554 Compare October 28, 2025 07:21
@hailangvn hailangvn requested a review from lmignon October 28, 2025 07:23
Copy link
Contributor

@lmignon lmignon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @hailangvn for the migration. LGTM (Code review)

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.

3 participants