Skip to content

Commit c8088f5

Browse files
authored
feat(blog): add Postgres full-text search post (#8093)
Part 5 of the Postgres features series: ranked search with a generated tsvector column, GIN index, websearch_to_tsquery, and ts_rank, plus pg_trgm typo tolerance, demoed on a temporary Prisma Postgres database. All SQL outputs are real captures from PostgreSQL 17.2. Also links part 4 forward via its next: frontmatter pointer.
1 parent b6806c8 commit c8088f5

4 files changed

Lines changed: 606 additions & 0 deletions

File tree

  • apps/blog
    • content/blog
      • you-dont-need-a-job-queue-postgres-already-has-skip-locked
    • public/you-dont-need-elasticsearch-postgres-already-has-full-text-search/imgs

apps/blog/content/blog/you-dont-need-a-job-queue-postgres-already-has-skip-locked/index.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ tags:
1515
series: postgres-features
1616
seriesIndex: 4
1717
prev: you-dont-need-a-vector-database-postgres-already-has-pgvector
18+
next: you-dont-need-elasticsearch-postgres-already-has-full-text-search
1819
---
1920

2021
Postgres can run a reliable background job queue, and the key is one clause: `FOR UPDATE SKIP LOCKED`. In this post, you'll build a queue with retries and concurrent workers on [Prisma Postgres](https://www.prisma.io/docs/postgres), a managed PostgreSQL service: one table, a handful of short queries, and no message broker to deploy, monitor, or pay for.

0 commit comments

Comments
 (0)