Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 1151E9FBF11 for ; Wed, 8 Aug 2007 12:26:21 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 29303-06 for ; Wed, 8 Aug 2007 12:26:13 -0300 (ADT) X-Greylist: delayed 00:18:52.349813 by SQLgrey-1.7.5 Received: from thor.netera.se (thor.netera.se [85.112.172.11]) by postgresql.org (Postfix) with ESMTP id 7BD589FC0BE for ; Wed, 8 Aug 2007 12:26:13 -0300 (ADT) Received: from [192.168.2.189] (static-213-115-102-133.sme.bredbandsbolaget.se [213.115.102.133]) by thor.netera.se (Postfix) with ESMTP id 7114A13AC1AE for ; Wed, 8 Aug 2007 17:07:18 +0200 (CEST) Message-ID: <46B9DD1A.2050705@relevanttraffic.com> Date: Wed, 08 Aug 2007 17:11:22 +0200 From: =?ISO-8859-1?Q?H=E5kan_Jacobsson?= User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Restore database from zipped textfile (.sql) created by pg_dumpall Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200708/40 X-Sequence-Number: 17353 Hi, The table indexes aren't restored when I run this command: gunzip -c /filename/.gz | psql dbname / Should I use another cmd? /regards, Håkan Jacobsson /