pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Dirk Lutzebäck <lutzeb@aeccom.com>
Cc: pgsql-admin@postgresql.org
Cc: pgsql-general@postgresql.org
Cc: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: How to set the global OID counter? COPY WITH OIDS does not set global OID counter?
Date: Fri, 9 Jun 2006 10:00:15 -0400
Message-ID: <20060609140015.GF19659@surnet.cl> (raw)
In-Reply-To: <448976E3.50209@aeccom.com>
References: <448976E3.50209@aeccom.com>

Dirk Lutzebäck wrote:
> Hi,
> 
> how can one set the global OID counter in 8.1.X? We think it would work 
> in 8.0.X using the COPY WITH OIDS command but this does not work in 
> 8.1.X anymore.

pg_resetxlog -o
(Postmaster stopped of course)

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (8+ messages)  latest in thread

Message-ID: <20060609140015.GF19659@surnet.cl>
Permalink:  ../20060609140015.GF19659@surnet.cl/
Also on:    postgresql.org/message-id/20060609140015.GF19659@surnet.cl

 · 

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, lutzeb@aeccom.com, pgsql-general@postgresql.org, pgsql-bugs@postgresql.org, tgl@sss.pgh.pa.us
  Subject: Re: How to set the global OID counter? COPY WITH OIDS does not set global OID counter?
  In-Reply-To: <20060609140015.GF19659@surnet.cl>
  References: <448976E3.50209@aeccom.com> <20060609140015.GF19659@surnet.cl>

* 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