Fix tsvector_update_trigger() to be domain-friendly: it needs to allow all

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 1c3722f2806689a54239c8a721898525195e2cd5
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2008-04-08T18:20:34Z
Releases: 8.3.2
Fix tsvector_update_trigger() to be domain-friendly: it needs to allow all
the columns it works with to be domains over the expected type, not just
exactly the expected type.  In passing, fix ts_stat() the same way.
Per report from Markus Wollny.

Files

PathChange+/−
src/backend/utils/adt/tsvector_op.c modified +41 −20