Skip to content

Blog: You Don't Need a Vector Database, Postgres Already Has pgvector (series part 3)#8061

Merged
nurul3101 merged 3 commits into
mainfrom
blog/pgvector-vector-search-part-3
Jul 17, 2026
Merged

Blog: You Don't Need a Vector Database, Postgres Already Has pgvector (series part 3)#8061
nurul3101 merged 3 commits into
mainfrom
blog/pgvector-vector-search-part-3

Conversation

@ankur-arch

@ankur-arch ankur-arch commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

What

New post for the postgres-features series (part 3, after Redis pub/sub and the bloom index): semantic search in Postgres with pgvector, and the type-safe version via @prisma-next/extension-pgvector.

  • apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/ — post + two interactive MDX components (VectorSpaceDemo: draggable cosine-similarity plane; PgvectorDemoRunner: 6-step code/terminal walkthrough)
  • apps/blog/public/<slug>/imgs/ — hero.svg + meta.png (Eclipse house style, fonts embedded)
  • global.css.vector-demo styles (the runner reuses the existing .runner styles)
  • Bloom post frontmatter: added next: to complete the series chain

Validation

  • Demo run end-to-end twice (dev + clean-room) against published @prisma-next/*@0.14.0 packages and a fresh npx create-db@latest Prisma Postgres database; every command/output in the post is from a real run
  • Type-safety claims verified with real tsc errors; cosineDistance<=> rendering confirmed from extension source
  • pnpm types:check passes; rendered page verified at /blog/<slug> (demos, FAQ accordions, og:image all present); no new lint:links errors
  • SEO/GEO pass applied (answer-first lead, definition block, comparison table, FAQ)

Draft until final read-through.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features
    • Added a new educational blog post explaining semantic search with PostgreSQL and pgvector.
    • Added an interactive vector-space visualization showing cosine similarity and ranked results.
    • Added a step-by-step, animated code and terminal walkthrough with playback, navigation, and copy-output controls.
    • Updated blog navigation to link to the new pgvector article.

…rt 3)

Part 3 of the postgres-features series. Covers what embeddings and cosine
similarity are, pgvector in raw SQL, and the typed version via
@prisma-next/extension-pgvector, with a validated end-to-end demo on a
temporary Prisma Postgres database from npx create-db (every command and
output comes from a real run against the published 0.14.0 packages).

Includes two interactive MDX components (draggable vector-space demo and a
6-step code/terminal runner), a comparison table, FAQ accordions for GEO,
an Eclipse-style hero/meta cover, and links the bloom post forward to
complete the series chain.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
blog Ready Ready Preview, Comment Jul 17, 2026 10:26am
docs Ready Ready Preview, Comment Jul 17, 2026 10:26am
eclipse Ready Ready Preview, Comment Jul 17, 2026 10:26am
site Ready Ready Preview, Comment Jul 17, 2026 10:26am

Request Review

@coderabbitai

coderabbitai Bot commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 2dd314dc-ce22-435e-8ff2-9a389b3dfa85

📥 Commits

Reviewing files that changed from the base of the PR and between 623159e and 3463109.

⛔ Files ignored due to path filters (2)
  • apps/blog/public/you-dont-need-a-vector-database-postgres-already-has-pgvector/imgs/hero.svg is excluded by !**/*.svg
  • apps/blog/public/you-dont-need-a-vector-database-postgres-already-has-pgvector/imgs/meta.png is excluded by !**/*.png
📒 Files selected for processing (6)
  • apps/blog/content/blog/postgres-bloom-index-the-overlooked-postgres-feature/index.mdx
  • apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/PgvectorDemoRunner.tsx
  • apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/PgvectorDemoRunnerClient.tsx
  • apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/VectorSpaceDemo.tsx
  • apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/index.mdx
  • apps/blog/src/app/global.css

Walkthrough

A new pgvector blog post explains typed vector search with Prisma Next and adds interactive vector-space and terminal demos. Global styles support the visualization, and the preceding bloom-index post now links to this article.

Changes

Article foundation and typed runtime

Layer / File(s) Summary
Article concepts and setup
apps/blog/content/blog/postgres-bloom-index-the-overlooked-postgres-feature/index.mdx, apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/index.mdx
Adds series metadata, pgvector explanations, cosine similarity concepts, Prisma Next setup, extension wiring, and migration instructions.
Typed vector query walkthrough
apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/index.mdx
Adds vector insertion and similarity queries, compiler examples, embedding guidance, comparison content, usage criteria, FAQs, and recap material.

Interactive demonstrations

Layer / File(s) Summary
Interactive vector-space visualization
apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/VectorSpaceDemo.tsx, apps/blog/src/app/global.css
Adds draggable cosine-similarity visualization, ranked results, SVG states, and responsive ranking styles.
Interactive terminal demo runner
apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/PgvectorDemoRunner.tsx, apps/blog/content/blog/you-dont-need-a-vector-database-postgres-already-has-pgvector/PgvectorDemoRunnerClient.tsx
Adds ordered highlighted code steps with playback, navigation, animated code transitions, terminal scrolling, visibility pausing, and output copying.

Estimated code review effort: 4 (Complex) | ~45 minutes


Comment @coderabbitai help to get the list of available commands.

@argos-ci

argos-ci Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ✅ No changes detected 1 ignored Jul 17, 2026, 10:41 AM

@nurul3101
nurul3101 marked this pull request as ready for review July 17, 2026 10:40
@nurul3101
nurul3101 merged commit 1923c04 into main Jul 17, 2026
16 of 17 checks passed
@nurul3101
nurul3101 deleted the blog/pgvector-vector-search-part-3 branch July 17, 2026 10:40
nurul3101 added a commit that referenced this pull request Jul 17, 2026
The pgvector post (#8061) merged to main as postgres-features part 3.
This post becomes part 4: bloom keeps main's next pointer (pgvector),
pgvector gains next (this post), and this post's frontmatter and series
references update to fourth/prev-pgvector.
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.

2 participants