Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 177EB4769B1; Wed, 26 Jun 2002 20:48:47 -0400 (EDT) Mailbox-Line: From jie@stbernard.com Wed Jun 26 20:48:47 2002 Received: from MAIL01.stbernard.com (mail01.stbernard.com [64.154.93.162]) by postgresql.org (Postfix) with ESMTP id F28F7476082; Wed, 26 Jun 2002 19:55:21 -0400 (EDT) Received: by MAIL01.stbernard.com with Internet Mail Service (5.5.2653.19) id ; Wed, 26 Jun 2002 16:55:22 -0700 Message-ID: <7C760DAA511DC74B99E7D22189F786F101BF20F8@MAIL01.stbernard.com> From: Jie Liang To: "'admin@postgresql.org'" Cc: pgsql-sql@postgresql.org Subject: pg_restore cannot restore function Date: Wed, 26 Jun 2002 16:55:19 -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: 200206/359 X-Sequence-Number: 8324 I use pg_dump -Fc mydb > dbf then I create anpther db by: createdb mydb2 I use pg_restore -P myfunction -d mydb2 dbf cannot restore myfunction into mydb2 why?????? Jie Liang