Re: tsvector_update_trigger throws error "column is not of tsvector type" - Mailing list pgsql-general

From Tom Lane
Subject Re: tsvector_update_trigger throws error "column is not of tsvector type"
Date
Msg-id 3783.1207677441@sss.pgh.pa.us
Whole thread Raw
In response to Re: tsvector_update_trigger throws error "column is not of tsvector type"  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: tsvector_update_trigger throws error "column is not of tsvector type"  ("Markus Wollny" <Markus.Wollny@computec.de>)
List pgsql-general
I wrote:
> Would you confirm that
> select atttypid from pg_attribute where attrelid = 'public.ct_com_board_message'::regclass and attname = 'idxfti';
> gives 3614 (the preassigned OID for pg_catalog.tsvector)?

Actually, I'll bet a nickel that you'll find it doesn't, but rather
returns the OID of the domain over tsvector that the new
contrib/tsearch2 module creates.  It's clearly a bug that the built-in
trigger doesn't allow the domain alias to be used --- will fix.

            regards, tom lane

pgsql-general by date:

Previous
From: "Mikko Partio"
Date:
Subject: Re: "too many trigger records found for relation xyz"
Next
From: Shane Ambler
Date:
Subject: Re: High Availability / Replication with Sequoia