<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/pg-tre-1-1-1-released----an-approximate-regex-index-am-for-postgresql-18--buz0350im" -->

---
title: pg_tre 1.1.1 released -- an approximate-REGEX index AM...
description: pg_tre 1.1.1 is a new PostgreSQL 18+ extension that adds a native index access method for approximate-regex (fuzzy) matching using Levenshtein edit-distance...
canonical: https://daily.dev/posts/pg-tre-1-1-1-released----an-approximate-regex-index-am-for-postgresql-18--buz0350im
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: pg_tre 1.1.1 released -- an approximate-REGEX index AM for PostgreSQL 18+ | daily.dev
og:description: pg_tre 1.1.1 is a new PostgreSQL 18+ extension that adds a native index access method for approximate-regex (fuzzy) matching using Levenshtein edit-distance...
og:url: https://daily.dev/posts/pg-tre-1-1-1-released----an-approximate-regex-index-am-for-postgresql-18--buz0350im
og:image: https://api.daily.dev/og/posts/buZ0350IM.png
og:image:alt: pg_tre 1.1.1 released -- an approximate-REGEX index AM for PostgreSQL 18+
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# pg_tre 1.1.1 released -- an approximate-REGEX index AM for PostgreSQL 18+

**[PostgreSQL](https://daily.dev/sources/postgres)** · 4 min read · 1 upvotes · 0 comments

## Summary

pg_tre 1.1.1 is a new PostgreSQL 18+ extension that adds a native index access method for approximate-regex (fuzzy) matching using Levenshtein edit-distance semantics. It uses a three-tier filter funnel (BRIN-style range bloom, trigram postings, per-tuple bloom) backed by the TRE library, enabling indexed queries like 'find text within k edits of this regex pattern'. Key features include UTF-8/CJK trigram support, DoS protection via configurable caps, WAL coverage, VACUUM awareness, and REINDEX CONCURRENTLY support. It complements rather than replaces pg_trgm, tsvector/tsquery, and pgvector, filling the gap for typo-tolerant log search, SKU lookups, and hybrid RAG pipelines where exact regex or semantic search fall short.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.postgresql.org/about/news/pg_tre-111-released-an-approximate-regex-index-am-for-postgresql-18-3305>

## Similar posts on daily.dev

- [New things for regular expressions in PostgreSQL \(pg](https://daily.dev/posts/new-things-for-regular-expressions-in-postgresql-pg-kxjzmeyhs) · Planet PostgreSQL · 1 upvotes · 1 comments
- [Introducing pg\_re2, fast, RE2-powered regular expressions in Postgres](https://daily.dev/posts/introducing-pg-re2-fast-re2-powered-regular-expressions-in-postgres-fjfmnntlz) · ClickHouse · 6 upvotes · 0 comments
- [textsearch v1.0](https://daily.dev/posts/textsearch-v1-0-horrlwped) · PostgreSQL · 0 upvotes · 0 comments

---

Tags: [#postgresql](https://daily.dev/tags/postgresql), [#full-text-search](https://daily.dev/tags/full-text-search)

[View this post on daily.dev](https://daily.dev/posts/pg-tre-1-1-1-released----an-approximate-regex-index-am-for-postgresql-18--buz0350im)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"pg_tre 1.1.1 released -- an approximate-REGEX index AM for PostgreSQL 18+","url":"https://daily.dev/posts/pg-tre-1-1-1-released----an-approximate-regex-index-am-for-postgresql-18--buz0350im","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/pg-tre-1-1-1-released----an-approximate-regex-index-am-for-postgresql-18--buz0350im"},"datePublished":"2026-05-22T18:52:25.416Z","dateModified":"2026-05-22T18:52:48.482Z","description":"pg_tre 1.1.1 is a new PostgreSQL 18+ extension that adds a native index access method for approximate-regex (fuzzy) matching using Levenshtein edit-distance...","image":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","thumbnailUrl":"https://media.daily.dev/image/upload/s--VDukGCjf--/f_auto/v1722860399/public/Placeholder%2002","isAccessibleForFree":true,"articleSection":"PostgreSQL","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"PostgreSQL","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/8dab534748a94108858df41b7ef7fe86","url":"https://daily.dev/sources/postgres"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/pg-tre-1-1-1-released----an-approximate-regex-index-am-for-postgresql-18--buz0350im","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":1},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"postgresql,full-text-search","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"PostgreSQL","item":"https://daily.dev/sources/postgres"},{"@type":"ListItem","position":3,"name":"pg_tre 1.1.1 released -- an approximate-REGEX index AM for PostgreSQL 18+"}]}
```

