↑↓ 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 tokens from the document using the named parser.

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

Signatures & examples

ts_parse ( parser_name text, document text ) → setof record ( tokid integer, token text )
Extracts tokens from the document using the named parser. See Section 12.8.2 for details.
ts_parse('default', 'foo - bar') → (1,foo) ...
ts_parse ( parser_oid oid, document text ) → setof record ( tokid integer, token text )
Extracts tokens from the document using a parser specified by OID. See Section 12.8.2 for details.
ts_parse(3722, 'foo - bar') → (1,foo) ...
Version history 2
  1. 12 → 13 changed
  2. 8.2 → 8.3 added

Definition snapshot: b7bd9cda · English manual source