Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group