> Oversight, I suppose. is_text_type() was introduced by
>
> commit 635aaab278afc1af972a4b6a55ff632ab763505d
> Author: Tom Lane <tgl@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.
I'm wrong, in this commit it was just renamed. It was originally coded by me.
But it's still oversight.
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/