X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5A24354096 for ; Tue, 26 Apr 2005 17:20:31 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 05723-08 for ; Tue, 26 Apr 2005 20:20:22 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by svr1.postgresql.org (Postfix) with ESMTP id 8D77653956 for ; Tue, 26 Apr 2005 17:20:15 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 34so90267nzf for ; Tue, 26 Apr 2005 13:20:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ol+WQBJRrKhk1bUp1tuPmLuJWK06SgxKGMFudS28kp1VR3tHz+jPTm34NlsXHYsVpQSOA0Dm8+GZM+Y19fuo7WKueRWt5P9Q8XLaYcXootgWD+XOSo50HQtzHzLo/ma6Wx0AKL4wpQY2zyTB4X2z6zRnSHG56fDJWHpuMCpeYNQ= Received: by 10.36.72.20 with SMTP id u20mr7070nza; Tue, 26 Apr 2005 13:20:16 -0700 (PDT) Received: by 10.36.57.11 with HTTP; Tue, 26 Apr 2005 13:20:16 -0700 (PDT) Message-ID: Date: Tue, 26 Apr 2005 16:20:16 -0400 From: Mario Soto Cordones Reply-To: Mario Soto Cordones To: Oleg Bartunov Subject: Re: cache lookup failed for function 8044889 Cc: pgsql-admin@postgresql.org, Alvaro Herrera In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.169 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, RCVD_BY_IP, SUBJ_HAS_UNIQ_ID X-Spam-Level: * X-Archive-Number: 200504/373 X-Sequence-Number: 17386 Hi I am trying to apply the following patches to solve my problem=20 tsearch2_stat.patch.gz and regprocedure_7.4.patch.gz , but I don't understand that it is what it is necessary to make thank you 2005/4/26, Mario Soto Cordones : > 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 > for me work fine >=20 > thank >=20 > 2005/4/26, Oleg Bartunov : > > How did you migrate to 8.0 ? > > Have you read about regprocedure patch from http://www.sai.msu.su/~mege= ra/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 h= ave > > > 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 =3D $1 and co_filial =3D $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 =3D map.tok_alias and > > > map.ts_name =3D cfg.ts_name and cfg.oid=3D $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 > > >=20 > -- > cordialmente, >=20 > Ing. Mario Soto Cordones >=20 --=20 cordialmente, Ing. Mario Soto Cordones