pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mark Steben <msteben@autorevenue.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Error on CLUSTER command
Date: Fri, 08 Feb 2008 15:56:00 -0500
Message-ID: <5885.1202504160@sss.pgh.pa.us> (raw)
In-Reply-To: <00bf01c86a89$fa4af7a0$14010a0a@dei26g028575>
References: <00bf01c86a89$fa4af7a0$14010a0a@dei26g028575>

"Mark Steben" <msteben@autorevenue.com> writes:
> The doc says to do an initdb and reload the data whenever you run
> pg_resetxlog.  Do you concur with that even if we are only resetting the OID
> counter?

The docs are thinking of the case where you are trying to recover from
database corruption.  If you just use it to change the OID counter after
a clean shutdown, I don't see a problem.

Not that it wouldn't be a good idea to take a backup first, just
in case...

			regards, tom lane



view thread (7+ messages)

Message-ID: <5885.1202504160@sss.pgh.pa.us>
Permalink:  ../5885.1202504160@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/5885.1202504160@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, msteben@autorevenue.com
  Subject: Re: Error on CLUSTER command
  In-Reply-To: <5885.1202504160@sss.pgh.pa.us>

* 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