You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: clarify pgvector setup for tiered tables - #172
Clarifies that ColdFront creates the pgvector extension automatically for decoupled tables, while tiered tables need CREATE EXTENSION vector before PostgreSQL parses a vector column.
The strict MkDocs build passed before the rebase. After the rebase, the local shell did not have MkDocs installed. The rebase only incorporated upstream’s existing decoupled-table wording and retained the documentation change for tiered tables.
Risk and rollback
Documentation-only change. Revert commit b4a3bbd if the wording needs adjustment.
No actionable comments were generated in the recent review.
Walkthrough
The vector usage guide now distinguishes pgvector setup requirements for decoupled and tiered tables.
Changes: Vector Extension Usage Guide
Layer / File(s)
Summary
Document extension setup docs/usage_vectors.md
The guide states that decoupled table creation installs pgvector when absent. For tiered tables, it instructs users to run CREATE EXTENSION vector before CREATE TABLE so PostgreSQL can resolve the vector type.
This is a documentation-only clarification of pgvector setup for decoupled and tiered tables. It has no runtime impact and is low risk to merge.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: it clarifies pgvector setup for tiered tables, which matches the docs/usage_vectors.md edit that states tiered tables need CREATE EXTENSION vector before CREATE TABLE.…
Description check
The description states the purpose: ColdFront creates the pgvector extension for decoupled tables, while tiered tables need CREATE EXTENSION vector first. It also lists the tests run, the rebase conte…
Linked Issues check
[#156] Issue #156 is closed and supplies historical context only. Its one concrete requirement, a documentation fix, is still checked against the reviewed head because it is the only change under revi…
Out of Scope Changes check
The supplied summary reports one changed file, docs/usage_vectors.md, with +3/-1 lines. The changed passage is the pgvector setup guidance that issue #156 addresses. The PR description also describes …
Full details: Title check
Explanation
The title names the main change: it clarifies pgvector setup for tiered tables, which matches the docs/usage_vectors.md edit that states tiered tables need CREATE EXTENSION vector before CREATE TABLE. It is a docs-only change, and the title says so with the docs: prefix.
Full details: Description check
Explanation
The description states the purpose: ColdFront creates the pgvector extension for decoupled tables, while tiered tables need CREATE EXTENSION vector first. It also lists the tests run, the rebase context, and the rollback commit. This matches the documentation-only change in docs/usage_vectors.md.
Full details: Linked Issues check
Explanation
[#156] Issue #156 is closed and supplies historical context only. Its one concrete requirement, a documentation fix, is still checked against the reviewed head because it is the only change under review. In docs/usage_vectors.md ("Creating a Table" section), the head now states that a tiered table requires the pgvector extension first, because PostgreSQL must resolve the vector type to create the table, and that CREATE EXTENSION vector must run before CREATE TABLE. It also states that when a decoupled table declares a vector column, ColdFront creates the pgvector extension if the database lacks it. This separates the two paths as the issue's suggested fix requests. The original unqualified claim that ColdFront always installs pgvector is no longer present in that section. Non-coding documentation requirements are not otherwise applicable.
Full details: Out of Scope Changes check
Explanation
The supplied summary reports one changed file, docs/usage_vectors.md, with +3/-1 lines. The changed passage is the pgvector setup guidance that issue #156 addresses. The PR description also describes a documentation-only change. The direct diff read failed because changed blobs were missing from the checkout. The head file content shows the changed guidance sits in the setup section and matches the issue. No unrelated code or configuration change is evidenced. Remaining uncertainty is limited to the unreadable diff hunks; the summary is consistent with the file content.
Finishing Touches
Generate unit tests (beta)
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Reviewing files that changed from the base of the PR and between 39253cc and b4a3bbd.
Files selected for processing: 1
docs/usage_vectors.md
Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer TIP This summary will be updated as you push new changes.
Thank you for your contribution. #169 already fixed it: the tiered-table requirement is now at the top of "Creating a Table" in docs/usage_vectors.md. Closing as duplicate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
duplicateThis issue or pull request already exists
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Clarifies that ColdFront creates the pgvector extension automatically for decoupled tables, while tiered tables need
CREATE EXTENSION vectorbefore PostgreSQL parses avectorcolumn.Closes #156
Testing
make testgit diff --check origin/main...HEADThe strict MkDocs build passed before the rebase. After the rebase, the local shell did not have MkDocs installed. The rebase only incorporated upstream’s existing decoupled-table wording and retained the documentation change for tiered tables.
Risk and rollback
Documentation-only change. Revert commit
b4a3bbdif the wording needs adjustment.