Re: probelm migrating from 7.3.4 to 7.42

From: Gaetano Mendola <mendola(at)bigfoot(dot)com>
To: Michael Hoeller <MichaelHoeller(at)t-online(dot)de>
Subject: Re: probelm migrating from 7.3.4 to 7.42
Date: 2004-08-06 23:09:47
Message-ID: 41140FBB.3090809@bigfoot.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Michael Hoeller wrote:

> Hello,
>
> I searched the archives and since I'm a relatively noivce user I'll have
> to run the risk of repeating already asked questions.
>
> I'm having a problem to migrate from version 7.3.4 to 7.4.2
>
> On version 7.3.4 I do:
> vacuumdb --analyze $PGDATABASE
> pg_dump -x $PGDATABASE >$DATABASE
>
> and on version 7.4.2 I want to import via:
> bzcat $DATABASE | psql NEWDATABASE

Why do you use a bzcat command with an ascii file ?

Try with this:

psql -f $DATABASE NEWDATABASE

Regards
Gaetano Mendola

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Gaetano Mendola 2004-08-06 23:14:18 Re: Slow after VACUUM, fast after DROP-CREATE INDEX
Previous Message Markus Bertheau 2004-08-06 23:04:44 Re: probelm migrating from 7.3.4 to 7.42