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:34 +0000 (18:20 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 8 Apr 2008 18:20:34 +0000 (18:20 +0000)
commit049c3b70e35d2a8db718d183504d64a64a41bc7c
tree7124020c5c0ad7f235a51b266325cd2b77995480
parent65d1048d694d75a07fa19fee4a99706c25f48ba8
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