However, it does seem like this function is not implementing its
specification.  Why isn't it just "IsBinaryCoercible(typid, TEXTOID)"?
Oversight, I suppose. is_text_type() was introduced by

commit 635aaab278afc1af972a4b6a55ff632ab763505d
Author: Tom Lane <t...@sss.pgh.pa.us>
Date:   Tue Apr 8 18:20:29 2008 +0000

    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.

Will fix. Suppose, is_expected_type() could be replaced to IsBinaryCoercible 
too.



--
Teodor Sigaev                                   E-mail: teo...@sigaev.ru
                                                   WWW: http://www.sigaev.ru/


--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to