pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rajesh Kumar Mallah. <mallah@trade-india.com>
To: acchung@mit.edu
To: pgsql-admin@postgresql.org
Subject: Re: Importing Database
Date: Tue, 25 Jun 2002 09:28:03 +0530
Message-ID: <200206250928.03638.mallah@trade-india.com> (raw)
In-Reply-To: <1024932612.3d173b04c5821@webmail.mit.edu>
References: <1024932612.3d173b04c5821@webmail.mit.edu>


rename 20020422_project_summaries.gz as 20020422_project_summaries.sql

and load it using psql.

regds
mallah

On Monday 24 June 2002 21:00, acchung@mit.edu wrote:
> 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

-- 
Rajesh Kumar Mallah,
Project Manager (Development)
Infocom Network Limited, New Delhi
phone: +91(11)6152172 (221) (L) ,9811255597 (M)

Visit http://www.trade-india.com ,
India's Leading B2B eMarketplace.







view thread (4+ messages)

Message-ID: <200206250928.03638.mallah@trade-india.com>
Permalink:  ../200206250928.03638.mallah@trade-india.com/
Also on:    postgresql.org/message-id/200206250928.03638.mallah@trade-india.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mallah@trade-india.com, acchung@mit.edu
  Subject: Re: Importing Database
  In-Reply-To: <200206250928.03638.mallah@trade-india.com>
  References: <1024932612.3d173b04c5821@webmail.mit.edu> <200206250928.03638.mallah@trade-india.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox