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:39:12
Message-ID: 03d601c28b33$326e0820$81c206d4@office.turtleentertainment.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> The corresponding code part in txtidx.c:
>
> if (numattr < 0 || (!(oidtype == TEXTOID || oidtype == VARCHAROID)))
> {
> elog(NOTICE, "TSearch: can not find field '%s'", trigger->tgargs[i]);
> continue;
> }
>
> Question is, do I break anything if I add "|| oidtype == CHARACTEROID" ?

Attached a quick hack to txtidx.c (added BPCHAROID).

Hope this does not break things. Comments?

Regards,
Bjoern

Attachment Content-Type Size
tsearch_txtidx.c.patch application/octet-stream 586 bytes

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Josh Berkus 2002-11-13 17:05:35 Re: Upgrade to dual processor machine?
Previous Message Björn Metzdorf 2002-11-13 16:16:01 Re: tsearch consistency trigger on inheritated table