| From: | Richard Huxton <dev(at)archonet(dot)com> |
|---|---|
| To: | Matroska80 <tloschiavo(at)adhocsistemi(dot)it> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Tsearch2 cache lookup problem |
| Date: | 2006-03-08 20:29:52 |
| Message-ID: | 440F3EC0.7070009@archonet.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Matroska80 wrote:
> Hi i have a problem using tsearch2 with postgresql. Executing:
> SELECT to_tsquery('default','kj');
>
> return a
> cache lookup failed for function 141542.
Try the following:
SELECT oid,* FROM pg_proc WHERE proname='to_tsquery';
That should show whether there is a function with that OID.
> But it's strange this happens now but not before and nothing has done on
> database...some data break with tsearch2?
> I am using postgres 7.4.6 and no dump restore occurs before this error
> appear.
Either you have database corruption or something has clobbered your
function definition.
Oh, and upgrade to the latest 7.4.x series too - lots of bug-fixes
you'll want to get.
--
Richard Huxton
Archonet Ltd
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Richard Huxton | 2006-03-08 20:31:59 | Re: Tsearch2 cache lookup problem |
| Previous Message | Richard Huxton | 2006-03-08 20:25:37 | Re: Triggers and Multiple Schemas. |