Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id E5594475A6F; Wed, 3 Jul 2002 11:54:00 -0400 (EDT) Mailbox-Line: From jie@stbernard.com Wed Jul 3 11:54:00 2002 Received: from MAIL01.stbernard.com (mail01.stbernard.com [64.154.93.162]) by postgresql.org (Postfix) with ESMTP id B7870475EAB; Wed, 3 Jul 2002 11:25:13 -0400 (EDT) Received: by MAIL01.stbernard.com with Internet Mail Service (5.5.2653.19) id <3G37M0FF>; Wed, 3 Jul 2002 08:25:18 -0700 Message-ID: <7C760DAA511DC74B99E7D22189F786F101BF210C@MAIL01.stbernard.com> From: Jie Liang To: 'Achilleus Mantzios' , Jie Liang Cc: 'Jan Wieck' , 'Bruce Momjian' , "'admin@postgresql.org'" , "'pgsql-sql@postgresql.org'" Subject: Re: pg_restore cannot restore function Date: Wed, 3 Jul 2002 08:25:17 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, hits=0.0 required=5.0 tests=none version=2.30 X-Spam-Level: X-Archive-Number: 200207/27 X-Sequence-Number: 8406 This is not the case, because those db on a same server, it's I dump data from one db and try restore one of it function into another db. Thanks for your response anyway. Jie Liang -----Original Message----- From: Achilleus Mantzios [mailto:achill@matrix.gatewaynet.com] Sent: Wednesday, July 03, 2002 12:52 AM To: Jie Liang Cc: 'Jan Wieck'; 'Bruce Momjian'; 'admin@postgresql.org'; 'pgsql-sql@postgresql.org' Subject: Re: [SQL] pg_restore cannot restore function In the case that you moved your backup to another system where possibly the shared library (.so) where the function exists is on a different location then thats the problem, in which case you only need to recreate the function (with the same isstrict,iscachable attributes). -- Achilleus Mantzios S/W Engineer IT dept Dynacom Tankers Mngmt tel: +30-10-8981112 fax: +30-10-8981877 email: achill@matrix.gatewaynet.com mantzios@softlab.ece.ntua.gr ---------------------------(end of broadcast)--------------------------- TIP 4: Don't 'kill -9' the postmaster