Re: Restoring 8.2 to 8.0

From: RW <postgres(at)tauceti(dot)net>
To: Robert Fitzpatrick <lists(at)webtent(dot)net>
Cc: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Restoring 8.2 to 8.0
Date: 2007-06-01 17:24:24
Message-ID: 46605648.5020807@tauceti.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I've never tried this but maybe it works if you use pg_dump
from 8.0 to do the dump.

Greetings
Robert

Robert Fitzpatrick wrote:
> I have a dump from 8.2 restored to file that was pg_dump'd with format c
> from a production server. I want to know if it is possible for me to
> restore this to a 8.0 development server where I am not able to upgrade
> at this time. Trying to do some testing, but this is the only other
> server that's available right now. I tried a normal restore and start
> getting errors relating to regclass:
>
> honeypot:~ # psql -U postgres trax < pgtrax.sql
> <snip>
> ERROR: cannot cast type text to regclass
> ERROR: relation "public.tblmenu" does not exist
> ERROR: function nextval(regclass) does not exist
>
> Is there a way I can prepare my dump to work? There is a lot of data, so
> I need to maintain COPY methods of inserting.
>
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tyler Durden 2007-06-01 17:24:44 Re: Seq Scan
Previous Message Joshua D. Drake 2007-06-01 17:21:08 Looking for Graphical people for PostgreSQL tradeshow signage