Re: Problems With pg_dumpall and OIDs

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tim Gustafson <tjg(at)soe(dot)ucsc(dot)edu>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Problems With pg_dumpall and OIDs
Date: 2008-11-20 00:21:18
Message-ID: 24061.1227140478@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Tim Gustafson <tjg(at)soe(dot)ucsc(dot)edu> writes:
> I currently have a old GForge installation running on Postgres 7.4.19. GForge relies on the OID columns of their application tables for different things. I'm trying to upgrade Postgres to 8.2, and in order to do so, I'm doing:

> pg_dumpall --oids --clean > foo.sql

> However, the "CREATE TABLE" statements in foo.sql don't have "WITH
> OIDS" specified,

7.4's pg_dump doesn't know it ought to do that. Try taking the dump
with the newer version's pg_dump(all).

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Greg Smith 2008-11-20 05:04:31 Re: Very Urgent : Sequences Problem
Previous Message Scott Marlowe 2008-11-19 23:17:17 Re: Problems With pg_dumpall and OIDs