Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by postgresql.org (Postfix) with ESMTP id 9B9B8475AA0 for ; Sat, 23 Feb 2002 15:15:09 -0500 (EST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g1NKEuk43959; Sun, 24 Feb 2002 09:14:56 +1300 (NZDT) (envelope-from dan@lists.unixathome.org) Message-Id: <200202232014.g1NKEuk43959@lists.unixathome.org> From: "Dan Langille" Organization: DVL Software Limited To: Tom Lane Date: Sat, 23 Feb 2002 15:14:53 -0500 MIME-Version: 1.0 Subject: Re: 7.1->7.2 data import timestamp problems Reply-To: dan@langille.org Cc: Sean Chittenden , pgsql-admin@postgresql.org References: <200202231944.g1NJiEk43626@lists.unixathome.org> In-reply-to: <25996.1014493835@sss.pgh.pa.us> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Archive-Number: 200202/328 X-Sequence-Number: 3481 On 23 Feb 2002 at 14:50, Tom Lane wrote: > "Dan Langille" writes: > > now I'm getting: ERROR: SearchSysCache: Bad cache id 27 > > I believe we've seen this from trying to load a 7.1 plpgsql.so > into 7.2. Tom! Well done. Thank you. That was the problem.[1] After correcting that, I started to get: ERROR: fmgr_info: function 944463: cache lookup failed I tried to the just reload the stored procedures, but had to reload the entire db to fix that one. Much appreciated. [1] - the change I made: this CREATE FUNCTION "plpgsql_call_handler" () RETURNS opaque AS '/usr/local/lib/plpgsql.so', 'plpgsql_call_handler' LANGUAGE 'C'; became CREATE FUNCTION "plpgsql_call_handler" () RETURNS opaque AS '/usr/local/lib/postgresql/plpgsql.so', 'plpgsql_call_handler' LANGUAGE 'C'; which is the default location under the latest FreeBSD port. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples