7.4 <-> 8.0

From: Warren Snelling <snelling(at)email(dot)marc(dot)usda(dot)gov>
To: pgsql-admin(at)postgresql(dot)org
Subject: 7.4 <-> 8.0
Date: 2005-09-15 19:10:04
Message-ID: 1126811405.12350.29.camel@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

All,

Couple questions from to a recent upgrade from 7.4.8 to 8.0.3. With
servers for both versions running on the same machine,

pg_dumpall -p 5432 -c | psql -p 5433 template1

appears to have migrated the databases smoothly. At least I didn't
notice any errors in the process, and all the data appears to be there.

The one troubling thing is the new 8.0 databases take about half the
disk space as the 7.4 databases. Similar dump | psql to recreate the
databases on other machines running 7.4.7 and 7.4.8 show the same thing
- the fresh copies take half the space of the old. What might be
happening with the old db, so it takes so much more space? Could half
the data be missing?

What's the best way to move data from 8.0 to 7.4? The 8.0 pg_dump
writes a dump that doesn't restore with 7.4 psql, and 7.4 pg_dump
doesn't seem to handle an 8.0 database. At least I haven't found the
right switches...

Thanks,
warren

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Guido Barosio 2005-09-15 20:35:40 Re: 7.4 <-> 8.0
Previous Message Kevin Grittner 2005-09-15 14:22:58 Re: [JDBC] ERROR: canceling query due to user request