pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oleg Bartunov <oleg@sai.msu.su>
To: Mario Soto Cordones <msotocl@gmail.com>
Cc: pgsql-admin@postgresql.org, Alvaro Herrera <alvherre@dcc.uchile.cl>
Subject: Re: cache lookup failed for function 8044889
Date: Wed, 27 Apr 2005 00:57:13 +0400 (MSD)
Message-ID: <Pine.GSO.4.62.0504270054350.4489@ra.sai.msu.su> (raw)
In-Reply-To: <e9b17cde0504261211180c4cb6@mail.gmail.com>
References: <e9b17cde05042611322480eb45@mail.gmail.com>
	<Pine.GSO.4.62.0504262247570.4489@ra.sai.msu.su>
	<e9b17cde0504261211180c4cb6@mail.gmail.com>

On Tue, 26 Apr 2005, Mario Soto Cordones wrote:

> Hi
> I migrate the database according to the procedure indicated in the
> documentation of 8.0.2 , but I have not read the documentation of the
> patch of the tsearch, but my others functions make in pl/pgsql make

so you have two choices - if you have 7.4.5 still available then read
docs and try patch and you should get good dump, or reinstall tsearch2
stuff. There are OIDs stored in tsearch2 config tables

> for me work fine
>
> thank
>
>
> 2005/4/26, Oleg Bartunov <oleg@sai.msu.su>:
>> How did you migrate to 8.0 ?
>> Have you read about regprocedure patch from http://www.sai.msu.su/~megera/postgres/gist/tsearch/V2/ ?
>>
>> Oleg
>> On Tue, 26 Apr 2005, Mario Soto Cordones wrote:
>>
>>> Hello list, there is migrate to postgreSQL 8.0. and I have begun to have
>>> some errors, before  had the 7.4.5:
>>> For example I have the following function:
>>>
>>> CREATE OR REPLACE FUNCTION "public"."find_observaciones_activos"
>>> (integer, integer, text) RETURNS SETOF "public"."finddoc_t" AS
>>> $body$
>>> select set_curcfg('default');
>>> select co_empresa, co_filial, nu_activo_fijo,sq_serialcolumn,
>>> headline(tx_observaciones, q),
>>>                         rank(vector, q)
>>>                from observaciones_activos, to_tsquery($3) as q
>>>                where co_empresa = $1 and co_filial = $2 and
>>>                     vector @@ q order by rank(vector,q) desc
>>> $body$
>>> LANGUAGE 'sql' STABLE CALLED ON NULL INPUT SECURITY INVOKER;
>>>
>>> and to execute this say
>>>
>>> cache lookup failed for function 8044889
>>>
>>> CONTEXT:  sentencia SQL: ??select lt.tokid, map.dict_name from
>>> public.pg_ts_cfgmap as map, public.pg_ts_cfg as cfg,
>>> public.token_type( $1 ) as lt where lt.alias =  map.tok_alias and
>>> map.ts_name = cfg.ts_name and cfg.oid= $2 order by lt.tokid desc;??
>>> funci??n SQL ??find_observaciones_activos?? en la sentencia 1
>>>
>>>
>>> i drop all functions and I have recreated them again, but the problem
>>> persist, but with the 7.4.5 version all work fine... only functions
>>> alone the functions related with ltree or tsearch or spatial
>>> implementation  don't work
>>>
>>> any idea please ?????
>>>
>>>
>>>
>>
>>         Regards,
>>                 Oleg
>> _____________________________________________________________
>> Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
>> Sternberg Astronomical Institute, Moscow University (Russia)
>> Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
>> phone: +007(095)939-16-83, +007(095)939-23-83
>>
>
>
>

 	Regards,
 		Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg@sai.msu.su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83



view thread (7+ messages)  latest in thread

Message-ID: <Pine.GSO.4.62.0504270054350.4489@ra.sai.msu.su>
Permalink:  ../Pine.GSO.4.62.0504270054350.4489@ra.sai.msu.su/
Also on:    postgresql.org/message-id/Pine.GSO.4.62.0504270054350.4489@ra.sai.msu.su

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: oleg@sai.msu.su, msotocl@gmail.com, alvherre@dcc.uchile.cl
  Subject: Re: cache lookup failed for function 8044889
  In-Reply-To: <Pine.GSO.4.62.0504270054350.4489@ra.sai.msu.su>
  References: <e9b17cde05042611322480eb45@mail.gmail.com> <Pine.GSO.4.62.0504262247570.4489@ra.sai.msu.su> <e9b17cde0504261211180c4cb6@mail.gmail.com> <Pine.GSO.4.62.0504270054350.4489@ra.sai.msu.su>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox