querytree ( tsquery ) → textProduces a representation of the indexable portion of a
tsquery. A result that is empty or just T indicates a non-indexable query.querytree('foo & ! bar'::tsquery) → 'foo'Functions / Text Search Functions And Operators
Produces a representation of the indexable portion of a tsquery.
Reading PG 18current·documented in 20 of 27 versions, 8.3 to 20
querytree ( tsquery ) → textProduces a representation of the indexable portion of a
tsquery. A result that is empty or just T indicates a non-indexable query.querytree('foo & ! bar'::tsquery) → 'foo'Definition snapshot: b7bd9cda · English manual source