Re: tsearch consistency trigger on inheritated table

From: Björn Metzdorf <bm(at)turtle-entertainment(dot)de>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: tsearch consistency trigger on inheritated table
Date: 2002-11-13 16:09:04
Message-ID: 035b01c28b2e$fd399100$81c206d4@office.turtleentertainment.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> > When using this trigger on an inheritated table (with "title" being an
> > inheritated column), an insert or update on the table fails stating:
> > NOTICE: TSearch: can not find field 'title'
> > ERROR: ExecAppend: Fail to add null value in not null attribute created
>
> Hm, I cannot see how it would matter whether the column is inherited or
> not. Could you provide a self-contained example of what you're doing?

Well, it turned out that column "title" was "character(100)" and not "text".
It seems that function tsearch depends on columns being "text". Is there
some way to circumwent this? txt2txtidx works with "character" too.

Regards,
Bjoern

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Björn Metzdorf 2002-11-13 16:16:01 Re: tsearch consistency trigger on inheritated table
Previous Message Artur Rataj 2002-11-13 15:56:30 Re: Comparing strings with non-ASCII characters