Fix tsvector_update_trigger() to be domain-friendly: it needs to allow all
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Apr 2008 18:20:29 +0000 (18:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Apr 2008 18:20:29 +0000 (18:20 +0000)
commit635aaab278afc1af972a4b6a55ff632ab763505d
treec70ad842fd8c90d527217ccf43d8abf2163628ee
parentdb5f60cb1837d9d62d149f6f814d7069bdff9009
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.
src/backend/utils/adt/tsvector_op.c