Re: Restoring Backup With OIDs As Primary Key

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Ben C <ben(dot)c(at)ect(dot)com(dot)au>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Restoring Backup With OIDs As Primary Key
Date: 2008-08-26 14:16:22
Message-ID: 20080826141622.GB4920@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Ben C wrote:

> Is there a way to increment the OID by changing a value in the system tables?

Not a system table, but you can with pg_resetxlog -o.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Rommel the iCeMAn 2008-08-26 14:19:51 Re: Problem with reinstall of PostgreSQL 8.3
Previous Message Andrew Sullivan 2008-08-26 14:12:52 Re: Restoring Backup With OIDs As Primary Key