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 2A3F453250 for ; Tue, 26 Apr 2005 15:32:30 -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 78923-04 for ; Tue, 26 Apr 2005 18:32:19 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.192]) by svr1.postgresql.org (Postfix) with ESMTP id 3EDB0534CC for ; Tue, 26 Apr 2005 15:32:18 -0300 (ADT) Received: by zproxy.gmail.com with SMTP id 34so40926nzf for ; Tue, 26 Apr 2005 11:32:19 -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:mime-version:content-type:content-transfer-encoding:content-disposition; b=EnijH/B8ocKd2+kwMEbXDoRnL1OJkdtHYGrfzIbPirzn9jZ+4C0i44OZADFF+BmzVYXq+trZXjXms8FC9mNT3yIocsI31Zv+k9v35zNjLoCH1njDLlBfqa7+FnYO6PnASnJGu45tXx4S4Q3i1w59FxjuWWIlEty+BrJ4ZjwdPrw= Received: by 10.36.56.8 with SMTP id e8mr1199nza; Tue, 26 Apr 2005 11:32:19 -0700 (PDT) Received: by 10.36.57.11 with HTTP; Tue, 26 Apr 2005 11:32:19 -0700 (PDT) Message-ID: Date: Tue, 26 Apr 2005 14:32:19 -0400 From: Mario Soto Cordones Reply-To: Mario Soto Cordones To: pgsql-admin@postgresql.org Subject: cache lookup failed for function 8044889 Cc: Alvaro Herrera Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.97 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, RCVD_BY_IP, RCVD_IN_BL_SPAMCOP_NET, SUBJ_HAS_UNIQ_ID X-Spam-Level: * X-Archive-Number: 200504/370 X-Sequence-Number: 17383 Hello list, there is migrate to postgreSQL 8.0. and I have begun to have = =20 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: =C2=ABselect 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;=C2=BB funci=C3=B3n SQL =C2=ABfind_observaciones_activos=C2=BB 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=20 alone the functions related with ltree or tsearch or spatial implementation don't work any idea please ????? --=20 cordialmente, Ing. Mario Soto Cordones