https://github.com/adjust/wltree
adjust's patched version of postgres ltree
https://github.com/adjust/wltree
adjust-pg-extension
Last synced: about 1 year ago
JSON representation
adjust's patched version of postgres ltree
- Host: GitHub
- URL: https://github.com/adjust/wltree
- Owner: adjust
- License: other
- Created: 2013-08-30T10:21:45.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2024-08-11T20:19:12.000Z (almost 2 years ago)
- Last Synced: 2025-04-16T02:06:37.351Z (about 1 year ago)
- Topics: adjust-pg-extension
- Language: C
- Homepage:
- Size: 461 KB
- Stars: 16
- Watchers: 67
- Forks: 5
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/adjust/wltree/actions/workflows/main.yml)
## adjust ltree implementation
This is adevens patched version of Postgres ltree module.
Original written by Teodor Sigaev (teodor@sigaev.ru) and Oleg Bartunov (oleg@sai.msu.su)
It's different in using `::` instead of `.` as label separator.
And it allows to have special characters like `{ } ! *` in ltree labels.
You can match those label in ltree queries by escaping these characters:
```SQL
SELECT '!foo::{bar}::baz%'::ltree ~ '\!foo::\{bar\}::baz\%';
```
### Unsupported features
* Full-text queries a.k.a. ltxtquery currently does not support usage of escaped characters.