Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 1C843475F50 for ; Mon, 24 Jun 2002 22:58:30 -0400 (EDT) Mailbox-Line: From nickf@ontko.com Mon Jun 24 22:58:30 2002 Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by postgresql.org (Postfix) with ESMTP id 98E834768F9 for ; Mon, 24 Jun 2002 21:54:11 -0400 (EDT) Received: from 1cust231.tnt2.richmond.in.da.uu.net ([63.26.248.231] helo=nick) by hawk.mail.pas.earthlink.net with smtp (Exim 3.33 #2) id 17MfX0-0000ei-00; Mon, 24 Jun 2002 18:54:11 -0700 Reply-To: From: "Nick Fankhauser" To: , Subject: Re: Importing Database Date: Mon, 24 Jun 2002 20:57:30 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-reply-to: <1024932612.3d173b04c5821@webmail.mit.edu> X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Importance: Normal X-Spam-Status: No, hits=0.5 required=5.0 tests=IN_REP_TO,KNOWN_BAD_DIALUPS,RCVD_IN_OSIRUSOFT_COM version=2.30 X-Spam-Level: X-Archive-Number: 200206/197 X-Sequence-Number: 4631 Well, since it is already in text format, just load it normally: psql -f 20020422_project_summaries.gz psql doesn't care what the name is so long as the internal format is OK. If you want to, you can rename it. (I probably would to avoid confusion among the humans.) -Nick -------------------------------------------------------------------------- Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/ > -----Original Message----- > From: pgsql-admin-owner@postgresql.org > [mailto:pgsql-admin-owner@postgresql.org]On Behalf Of acchung@mit.edu > Sent: Monday, June 24, 2002 10:30 AM > To: pgsql-admin@postgresql.org > Subject: [ADMIN] Importing Database > > > Hi, > > I'm trying to import this database into postgresql. > The file is called 20020422_project_summaries.gz. > When I gunzip it, I get: > > postgres@E52BPS588R /Databases > $ gunzip 20020422_project_summaries.gz > > gunzip: 20020422_project_summaries.gz: not in gzip format > > When I type less 20020422_project_summaries.gz, I get the > text of the database of this file. So it seems that it's already unzipped > but has the .gz extension. how do I import this file > as a database into postgresql? I'm running cygwin and pgAdmin II > on a win2k computer. > > Alex > > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html > >