Skip to content
No description, website, or topics provided.
C TSQL Makefile
Branch: master
Clone or download
andersk and timabbott debian/pgversions: List all supported Postgres versions.
pg_buildext filters out the right Postgres versions for the OS
release, so this is one less thing to change when compiling for
multiple releases.

Also use a systematic package version scheme that works with release

Signed-off-by: Anders Kaseorg <>
Latest commit f566e96 Aug 18, 2019


The package provides a few PostgreSQL functions that allow you to get at lower-level data about full text search.

The currently available functions are:

Function Description
ts_match_locs_array(regconfig, text, tsquery) Returns the locations and lengths of matches as an array of 2-element arrays
ts_match_locs_array(text, tsquery) Same as above, but with the current text search configuration
tsvector_lexemes(tsvector) Returns an array of the lexemes in the given tsvector


pgdb=> SELECT ts_match_locs_array('The quick brown fox jumped over the lazy dog.  The jumping was quite fast.',
(1 row)
pgdb=> SELECT tsvector_lexemes(to_tsvector('The quick brown fox jumped over the lazy dog.  The jumping was quite fast.'));
(1 row)
You can’t perform that action at this time.