{
   "name": "pg_tre",
   "abstract": "Native PostgreSQL index access method for approximate regex matching",
   "description": "pg_tre adds a \"tre\" index access method for text columns. One index answers approximate-regex queries (TRE syntax, with an edit distance k of insertions, deletions and substitutions per pattern), POSIX regex (~, ~*), LIKE, ILIKE and equality, and ORDER BY edit distance. The index stores compressed trigram posting lists; a query's trigram formula selects candidate rows and the TRE matcher rechecks each one, so results are exact. Anchored and prefix patterns can be rejected early by a succinct range filter. Supports PostgreSQL 17, 18 and 19.",
   "version": "4.6.0",
   "date": "2026-11-03T15:46:16Z",
   "maintainer": "Greg Burd <greg@burd.me>",
   "release_status": "stable",
   "user": "gregburd",
   "sha1": "85e0cceb5ecb2b64781f3ba5bfb21879972654c1",
   "license": "mit",
   "prereqs": {
      "runtime": {
         "requires": {
            "PostgreSQL": "17.0.0"
         }
      }
   },
   "provides": {
      "pg_tre": {
         "abstract": "Approximate regex index access method",
         "docfile": "README.md",
         "file": "sql/pg_tre--4.6.0.sql",
         "version": "4.6.0"
      }
   },
   "tags": ["index", "regex", "approximate matching", "fuzzy search", "edit distance", "tre", "trigram", "access method"],
   "resources": {
      "bugtracker": {
         "web": "https://codeberg.org/gregburd/pg_tre/issues"
      },
      "homepage": "https://codeberg.org/gregburd/pg_tre",
      "repository": {
         "type": "git",
         "url": "https://codeberg.org/gregburd/pg_tre.git",
         "web": "https://codeberg.org/gregburd/pg_tre"
      }
   },
   "no_index": {
      "directory": [
         "vendor",
         "test",
         "bench",
         "fuzz",
         "patches",
         "debian",
         "packaging",
         ".github",
         ".forgejo",
         "doc/reports",
         "doc/specs"
      ],
      "file": [
         "doc/announcement.md",
         "doc/release-checklist.md",
         "doc/SUMMARY.md",
         "doc/index.md"
      ]
   }
}
