Re: wrong objects order using pg_dump

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Oleg <evdakov(at)iwk(dot)uka(dot)de>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: wrong objects order using pg_dump
Date: 2006-01-30 15:16:50
Message-ID: 5288.1138634210@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Oleg <evdakov(at)iwk(dot)uka(dot)de> writes:
> I am trying to copy the PostGIS Database from Linux computer to Windows.
> Under Linux Debian we have PostgreSQL 7.4.6, under Windows XP we have
> PostgreSQL 8.1.0-2 .
> I am creating dump under Linux with pg_dump myDB > myDBdump.sql

Try using the 8.1 pg_dump to suck data from the 7.4 database. 7.4's
pg_dump is not very smart about inter-object dependencies, especially
not if you ALTERed any objects after initially creating them. 8.0 or
8.1 pg_dump should get this right though.

regards, tom lane

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Christian Hofmann 2006-01-30 15:31:07 Help, 400 million rows, query slow, I stopped after 5 days
Previous Message chris preston 2006-01-30 15:04:44 Schema with Postgress 8.1