pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Ben C <ben.c@ect.com.au>
Cc: pgsql-admin@postgresql.org
Subject: Re: Restoring Backup With OIDs As Primary Key
Date: Tue, 26 Aug 2008 10:16:22 -0400
Message-ID: <20080826141622.GB4920@alvh.no-ip.org> (raw)
In-Reply-To: <7DA06115D1591D41A33328B737C1F4122F309E@svrect1.ect.local>
References: <7DA06115D1591D41A33328B737C1F4122F309E@svrect1.ect.local>

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.



view thread (3+ messages)

Message-ID: <20080826141622.GB4920@alvh.no-ip.org>
Permalink:  ../20080826141622.GB4920@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20080826141622.GB4920@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: alvherre@commandprompt.com, ben.c@ect.com.au
  Subject: Re: Restoring Backup With OIDs As Primary Key
  In-Reply-To: <20080826141622.GB4920@alvh.no-ip.org>
  References: <7DA06115D1591D41A33328B737C1F4122F309E@svrect1.ect.local> <20080826141622.GB4920@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox