↑↓ select ↵ open ⌫ change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Functions / Text Search Functions And Operators

Extracts and normalizes tokens from the document according to the specified or default text search configuration, and returns information about how each token was processed.

Reading PG 18current·documented in 20 of 27 versions, 8.3 to 20

Signatures & examples

ts_debug ( [ config regconfig, ] document text ) → setof record ( alias text, description text, token text, dictionaries regdictionary[], dictionary regdictionary, lexemes text[] )
Extracts and normalizes tokens from the document according to the specified or default text search configuration, and returns information about how each token was processed. See Section 12.8.1 for details.
ts_debug('english', 'The Brightest supernovaes') → (asciiword,"Word, all ASCII",The,{english_stem},english_stem,{}) ...
Version history 2
  1. 12 → 13 changed
  2. 8.2 → 8.3 added

Definition snapshot: b7bd9cda · English manual source